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

Dockerfile still references JDK 8 #215

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

z-sztrom
Copy link
Contributor

@z-sztrom z-sztrom commented Aug 8, 2023

Applicable Issues

Fixes #213

Description of the Change

Dockerfile uses openjdk:17.

Alternate Designs

Benefits

Docker image doesn't crash any more.

Possible Drawbacks

Sign-off

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Signed-off-by: Roman Szturc [email protected]

@z-sztrom z-sztrom requested a review from magnusbaeck August 8, 2023 13:48
@z-sztrom z-sztrom self-assigned this Aug 8, 2023
@z-sztrom z-sztrom added the bug Something is wrong and needs fixing. label Aug 8, 2023
@z-sztrom z-sztrom changed the title Dockerfile uses openjdk:17 Dockerfile still references JDK 8 Aug 8, 2023
Copy link
Member

@magnusbaeck magnusbaeck left a comment

Choose a reason for hiding this comment

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

It would've been nice with a JRE-only image (i.e. no full JDK) but no such appears to be readily available.

LGTM. Not approving the PR since I'm not a maintainer.

FROM fabric8/java-centos-openjdk8-jre:1.6.4
MAINTAINER Eiffel-Community
FROM openjdk:17
MAINTAINER Eiffel-Community
Copy link
Member

Choose a reason for hiding this comment

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

The MAINTAINER directive is deprecated, but addressing that could be done in a separate PR. There are a number of other useful image labels that can be set along with the MAINTAINER replacement; see eiffel-community/eiffel-goer#57.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Regarding no-full-JDK: I tried openjdk:17-jdk-slim, but I didn't get it working...

@z-sztrom z-sztrom requested a review from jainadc9 August 15, 2023 13:21
@z-sztrom z-sztrom merged commit 5dd9650 into eiffel-community:master Aug 16, 2023
@z-sztrom z-sztrom deleted the dockerfile-jdk8 branch November 18, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is wrong and needs fixing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dockerfile still references JDK 8 even though the binary is built for JDK 17
3 participants