-
Notifications
You must be signed in to change notification settings - Fork 226
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
(maint) Switch PDB container off of Alpine #3040
(maint) Switch PDB container off of Alpine #3040
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, Alpine is falling out of favor nowadays.
- Alpine seems to still be having issues with DNS resolutions inside an LCOW environment. In an effort to reduce these transient problems, switch the base container to a non-Alpine platform. A ticket has been filed with a repro for Alpine DNS issues under LCOW moby/libnetwork#2371 - While this may increase the image size by about 100MB, the goal here is reliability and robustness for the builder container: clojure:lein-alpine was about 142MB clojure:openjdk-8-lein is about 507MB for the target container: openjdk:8-jre-alpine was about 85MB openjdk:8-buster-slim is about 184MB - Ubuntu 18.04 shares a lineage with debian buster, which should be a well supported platform for PDB All OpenJDK container variants are listed at: https://github.com/docker-library/docs/blob/master/openjdk/README.md#supported-tags-and-respective-dockerfile-links
9c202f1
to
e2e6004
Compare
Decided it's not worth investigating that. |
CLA signed by all contributors. |
- When the base container image was changed from Alpine Linux to Debian Slim Buster in puppetlabs#3040, the /bin/sh implementation changed. 3c876e5 merged this code On Alpine, /bin/sh is the standard bare-bones cross-platform Bourne Shell. On Debian, /bin/sh is a symlink to dash. - Update shellscript syntax to be compatible with Dash.
- When the base container image was changed from Alpine Linux to Debian Slim Buster in #3040, the /bin/sh implementation changed. 3c876e5 merged this code On Alpine, /bin/sh is the standard bare-bones cross-platform Bourne Shell. On Debian, /bin/sh is a symlink to dash. - Update shellscript syntax to be compatible with Dash.
- When the base container image was changed from Alpine Linux to Debian Slim Buster in puppetlabs#3040, the /bin/sh implementation changed. 3c876e5 merged this code On Alpine, /bin/sh is the standard bare-bones cross-platform Bourne Shell. On Debian, /bin/sh is a symlink to dash. - Update shellscript syntax to be compatible with Dash.
- When the base container image was changed from Alpine Linux to Debian Slim Buster in #3040, the /bin/sh implementation changed. 1777702 merged this code On Alpine, /bin/sh is the standard bare-bones cross-platform Bourne Shell. On Debian, /bin/sh is a symlink to dash. - Update shellscript syntax to be compatible with Dash.
- When the base container image was changed from Alpine Linux to Debian Slim Buster in #3040, the /bin/sh implementation changed. 1777702 merged this code On Alpine, /bin/sh is the standard bare-bones cross-platform Bourne Shell. On Debian, /bin/sh is a symlink to dash. - Update shellscript syntax to be compatible with Dash.
Alpine seems to still be having issues with DNS resolutions inside
an LCOW environment. In an effort to reduce these transient
problems, switch the base container to a non-Alpine platform.
A ticket has been filed with a repro for Alpine DNS issues under LCOW
LCOW: Intermittent DNS resolution failures with Alpine containers moby/libnetwork#2371
While this may increase the image size by about 100MB, the goal here
is reliability and robustness
for the builder container:
clojure:lein-alpine was about 142MB
clojure:openjdk-8-lein is about 507MB
for the target container:
openjdk:8-jre-alpine was about 85MB
openjdk:8-buster-slim is about 184MB
Ubuntu 18.04 shares a lineage with debian buster, which should
be a well supported platform for PDB
All OpenJDK container variants are listed at:
https://github.com/docker-library/docs/blob/master/openjdk/README.md#supported-tags-and-respective-dockerfile-links