Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.8.* Update Dockerfile: libpq-dev version to supported version #10393

Closed
wants to merge 3 commits into from

Conversation

nickagel
Copy link

@nickagel nickagel commented Jul 2, 2024

libpq-dev=13.14-0+deb11u1 -> libpq-dev=13.15-0+deb11u1

The image is currently in a broken state

The following packages have unmet dependencies:
libpq-dev : Depends: libpq5 (= 13.14-0+deb11u1) but 13.15-0+deb11u1 is to be installed Unable to correct problems, you have held broken packages.

Problem

Docker build is currently failing due to dependency issue. There is a specified version that is no longer supported of libpq-dev=13.14-0+deb11u1. This causes the build to fail and is unable to resolve and upgrade

docker build --tag dbt-build-image-local --target dbt-third-party --build-arg dbt_third_party=dbt-redshift==1.8.1 --build-arg commit_ref=v1.8.3 https://raw.githubusercontent.com/dbt-labs/dbt-core/v1.8.3/docker/Dockerfile

Solution

upgrade libpq-dev to 13.15-0+deb11u1 & the issue is resolved for building the docker image

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX
  • This PR includes type annotations for new and modified functions

libpq-dev=13.14-0+deb11u1 -> libpq-dev=13.15-0+deb11u1

The image is currently in a broken state

The following packages have unmet dependencies:
libpq-dev : Depends: libpq5 (= 13.14-0+deb11u1) but 13.15-0+deb11u1 is to be installed
Unable to correct problems, you have held broken packages.
@nickagel nickagel requested a review from a team as a code owner July 2, 2024 16:01
Copy link

cla-bot bot commented Jul 2, 2024

Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA.

In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, please reach out through a comment on this PR.

CLA has not been signed by users: @nickagel

Copy link
Contributor

github-actions bot commented Jul 2, 2024

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.

@github-actions github-actions bot added the community This PR is from a community member label Jul 2, 2024
@nickagel
Copy link
Author

nickagel commented Jul 2, 2024

I have now signed the cla-signed

@cla-bot cla-bot bot added the cla:yes label Jul 2, 2024
@nickagel nickagel closed this by deleting the head repository Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:yes community This PR is from a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant