Skip to content

Commit

Permalink
remove JAVA_IMAGE from Dockerfile (not working) #10722
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Jul 24, 2024
1 parent e803c9c commit f80ebce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions modules/container-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
</buildx>
<dockerFile>Dockerfile</dockerFile>
<args>
<!--Not clear if JAVA_IMAGE is working. See Dockerfile.-->
<JAVA_IMAGE>${java.image}</JAVA_IMAGE>
<UID>${base.image.uid}</UID>
<GID>${base.image.gid}</GID>
Expand Down
7 changes: 4 additions & 3 deletions modules/container-base/src/main/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
# - We provide some tweaks for development and monitoring
#

# Make the Java base image and version configurable (useful for trying newer Java versions and flavors)
ARG JAVA_IMAGE="eclipse-temurin:17-jre-jammy"
FROM $JAVA_IMAGE
# There was a $JAVA_IMAGE variable here but it stopped working.
# modules/container-base/pom.xml still has this but it might not
# work anymore: <JAVA_IMAGE>${java.image}</JAVA_IMAGE>
FROM eclipse-temurin:17-jre-jammy

# Default payara ports to expose
# 4848: admin console
Expand Down

0 comments on commit f80ebce

Please sign in to comment.