-
Notifications
You must be signed in to change notification settings - Fork 206
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
fix daml-sdk Docker image #14055
fix daml-sdk Docker image #14055
Conversation
It looks like the default image changed from Focal to Jammy, and for whatever reason that completely breaks `curl`. This pins us to Focal (for better or worse), as well as switching to the new JRE-only images (much smaller size & attack surface than the full JDK images). CHANGELOG_BEGIN CHANGELOG_END
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.
Approving to fix the build but I recommend double checking the JRE switch with someone else & reverting that part if needed.
ci/docker/daml-sdk/Dockerfile
Outdated
@@ -1,4 +1,4 @@ | |||
FROM eclipse-temurin:11 | |||
FROM eclipse-temurin:11-jre-focal |
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.
I’m not quite sure the move to JRE only makes sense. You shouldn’t use those images in production anyway. I think the usecases that I personally find somewhat sensible is development & CI. And for those a JDK actually seems more useful.
That said, I’m happy to leave the decision here to others.
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.
Makes sense. Thanks!
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.
found the right button
It looks like the default image changed from Focal to Jammy, and for whatever reason that completely breaks
curl
.This pins us to Focal (for better or worse), as well as switching to the new JRE-only images (much smaller size & attack surface than the full JDK images).
CHANGELOG_BEGIN
CHANGELOG_END