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

Reduce size of the static docker image by patching the Nix openssl package #1528

Conversation

monacoremo
Copy link
Member

As discussed in #1522, this reduces the closure size of the Nix static build by improving the openssl package.

Benefit: The size of the static docker image should be reduced to 4mb.

Issues: This will trigger a rebuild for all our dependencies that depend on static openssl, so this will almost certainly time out in CI... :-)

@monacoremo monacoremo force-pushed the monacoremo-nix-static-docker-opensslfix branch 2 times, most recently from 9d23912 to 439beb8 Compare May 19, 2020 11:04
@monacoremo monacoremo force-pushed the monacoremo-nix-static-docker-opensslfix branch from 439beb8 to 0540e73 Compare May 19, 2020 13:37
@monacoremo monacoremo force-pushed the monacoremo-nix-static-docker-opensslfix branch from cb29c5b to d25d63f Compare May 20, 2020 09:34
@steve-chavez
Copy link
Member

LGTM 👍

Did a quick nix-build -A docker.load and ran the container. All's good!

@steve-chavez steve-chavez merged commit 289bb66 into PostgREST:master May 20, 2020
monacoremo added a commit to monacoremo/postgrest that referenced this pull request Jul 17, 2021
…ckage (PostgREST#1528)

* hook docker images into the default builds
@monacoremo monacoremo deleted the monacoremo-nix-static-docker-opensslfix branch July 27, 2021 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants