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

fix daml-sdk Docker image #14055

Merged
merged 2 commits into from
Jun 1, 2022
Merged

fix daml-sdk Docker image #14055

merged 2 commits into from
Jun 1, 2022

Conversation

garyverhaegen-da
Copy link
Contributor

@garyverhaegen-da garyverhaegen-da commented Jun 1, 2022

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

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
@garyverhaegen-da garyverhaegen-da requested review from a team June 1, 2022 17:19
Copy link
Contributor

@cocreature cocreature left a 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.

@@ -1,4 +1,4 @@
FROM eclipse-temurin:11
FROM eclipse-temurin:11-jre-focal
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Thanks!

Copy link
Contributor

@cocreature cocreature left a 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

@garyverhaegen-da garyverhaegen-da enabled auto-merge (squash) June 1, 2022 17:31
@garyverhaegen-da garyverhaegen-da merged commit 672a4bf into main Jun 1, 2022
@garyverhaegen-da garyverhaegen-da deleted the fix-docker-image branch June 1, 2022 17:58
garyverhaegen-da added a commit that referenced this pull request Jun 2, 2022
Same goal as #14055, but this should fix this week's image (we build
from the release commit, so #14055 only fixes future images), as well as
allow us to rebuild past images should we ever need to.

CHANGELOG_BEGIN
CHANGELOG_END
garyverhaegen-da added a commit that referenced this pull request Jun 2, 2022
Same goal as #14055, but this should fix this week's image (we build
from the release commit, so #14055 only fixes future images), as well as
allow us to rebuild past images should we ever need to.

CHANGELOG_BEGIN
CHANGELOG_END
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.

2 participants