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

add linux/arm64 support for Dockerfile #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nreisbeck
Copy link

@nreisbeck nreisbeck commented Apr 5, 2023

add a multi-stage build for both linux/amd64 and linux/arm64 paths, use the appropriate arch to build images.

add libmq-dev and gcc to the linux/arm64 builder stage, to allow psycopg2-binary to be built from source by pip.

add libpq5 to final-arm64 image so that psycopg2-binary is able to use postgres.

fix HTTP(S) proxy args in final-arm64

closes #37

add a multi-stage build for both `linux/amd64` and `linux/arm64` paths, use the appropriate arch to build images.

add `libmq-dev` and `gcc` to the `linux/arm64` builder stage, to allow `psycopg2-binary` to be built from source by `pip`.

add `libpq5` to `final-arm64` image so that `psycopg2-binary` is able to use `postgres`.

fix HTTP(S) proxy args in `final-arm64`
@nreisbeck
Copy link
Author

@ncrocfer @ldurnez Can you review this PR when you have a chance please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pg_config executable not found
1 participant