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

Replace java:8 by eclipse-temurin:8, so this works with recent docker installations #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DaGeRe
Copy link

@DaGeRe DaGeRe commented Dec 29, 2023

java:8 is not longer a Docker image, instead, the concrete JVM (e.g., eclipse-temurin:8) should be specified. Using java:8 results in errors like

[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.4.9:build (default-cli) on project query-side-blog-service: Exception caught: manifest for java:8 not found: manifest unknown: manifest unknown -> [Help 1]

I've replaced all FROM specification in the dockerfiles, so after this is fixed, the project should build again with recent docker versions.

This can be done using for file in $(find . -name "Dockerfile"); do sed -i "s/java:8/eclipse-temurin:8/g" $file; done (or potentially another image, like the slim version of temurin).

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.

None yet

1 participant