Skip to content

Commit

Permalink
Updated base images to Java 17 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
BWibo committed May 5, 2022
1 parent 6b4e0bb commit 49180ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

# Fetch & build stage #########################################################
# ARGS
ARG BUILDER_IMAGE_TAG='11.0.12-jdk-slim'
ARG RUNTIME_IMAGE_TAG='11.0.12-jre-slim'
ARG BUILDER_IMAGE_TAG='17-jdk-slim'
ARG RUNTIME_IMAGE_TAG='17-slim'

# Base image
FROM openjdk:${BUILDER_IMAGE_TAG} AS builder
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

# Fetch & build stage #########################################################
# ARGS
ARG BUILDER_IMAGE_TAG='jdk-11.0.11_9-alpine-slim'
ARG RUNTIME_IMAGE_TAG='jre-11.0.11_9-alpine'
ARG BUILDER_IMAGE_TAG='17-jdk-slim'
ARG RUNTIME_IMAGE_TAG='17-alpine'

# Base image
FROM adoptopenjdk/openjdk11:${BUILDER_IMAGE_TAG} AS builder
FROM openjdk:${BUILDER_IMAGE_TAG} AS builder

# Copy source code
WORKDIR /build
Expand All @@ -20,7 +20,7 @@ RUN chmod u+x ./gradlew && ./gradlew installDockerDist

# Runtime stage ###############################################################
# Base image
FROM adoptopenjdk/openjdk11:${RUNTIME_IMAGE_TAG} AS runtime
FROM openjdk:${RUNTIME_IMAGE_TAG} AS runtime

# Version info
ARG IMPEXP_VERSION
Expand Down

0 comments on commit 49180ed

Please sign in to comment.