From 2ba7af545e245d3c0509eae826708105c0b25890 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Tue, 22 Jun 2021 19:47:13 +0530 Subject: [PATCH] Use smaller docker base images. --- Dockerfile | 4 ++-- Dockerfile.openj9 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 88d4af0..7fbe001 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM adoptopenjdk/openjdk11:jdk11u-ubi-nightly-slim AS build +FROM adoptopenjdk/openjdk11:debianslim-slim AS build WORKDIR /app/ @@ -6,7 +6,7 @@ COPY . /app/ RUN chmod +x ./gradlew && ./gradlew shadowJar -FROM adoptopenjdk/openjdk11:ubi-minimal-jre +FROM adoptopenjdk/openjdk11:debianslim-jre WORKDIR /app/ diff --git a/Dockerfile.openj9 b/Dockerfile.openj9 index c40f4c9..cf302ad 100644 --- a/Dockerfile.openj9 +++ b/Dockerfile.openj9 @@ -1,4 +1,4 @@ -FROM adoptopenjdk/openjdk11-openj9:slim AS build +FROM adoptopenjdk/openjdk11-openj9:alpine-slim AS build WORKDIR /app/ @@ -6,7 +6,7 @@ COPY . /app/ RUN chmod +x ./gradlew && ./gradlew shadowJar -FROM adoptopenjdk/openjdk11-openj9:jre +FROM adoptopenjdk/openjdk11-openj9:alpine-jre WORKDIR /app/