File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ RUN mvn package -DskipTests
31
31
# It's important to use OpenJDK 8u191 or above that has container support enabled.
32
32
# https://hub.docker.com/r/adoptopenjdk/openjdk8
33
33
# https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds
34
- FROM adoptopenjdk/openjdk11:alpine-slim
34
+ FROM adoptopenjdk/openjdk11:alpine-jre
35
35
36
36
# Copy the jar to the production image from the builder stage.
37
37
COPY --from=builder /app/target/helloworld-*.jar /helloworld.jar
Original file line number Diff line number Diff line change 17
17
# Use AdoptOpenJDK for base image.
18
18
# It's important to use OpenJDK 8u191 or above that has container support enabled.
19
19
# https://hub.docker.com/r/adoptopenjdk/openjdk11
20
- FROM adoptopenjdk/openjdk11:alpine-slim
20
+ FROM adoptopenjdk/openjdk11:alpine-jre
21
21
22
22
# Install Imagemagick into the container image.
23
23
# For more on system packages review the system packages tutorial.
Original file line number Diff line number Diff line change 16
16
# [START run_system_package_dockerfile]
17
17
# Use the Official OpenJDK image for a lean production stage of our multi-stage build.
18
18
# https://hub.docker.com/r/adoptopenjdk/openjdk11/
19
- FROM adoptopenjdk/openjdk11:alpine
19
+ FROM adoptopenjdk/openjdk11:alpine-jre
20
20
21
21
RUN apk --no-cache add graphviz ttf-ubuntu-font-family
22
22
# [END run_system_package_dockerfile]
You can’t perform that action at this time.
0 commit comments