From f358e33131e5c521c00bed7878cc4c042ea61391 Mon Sep 17 00:00:00 2001 From: Sheriff Date: Wed, 28 Jun 2023 14:27:45 +0100 Subject: [PATCH] Updated the java image to use jdk --- app/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Dockerfile b/app/Dockerfile index f7e84240..a9404544 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -11,8 +11,8 @@ RUN mvn -B -f pom.xml -s /usr/share/maven/ref/settings-docker.xml dependency:res COPY . . RUN mvn -B -s /usr/share/maven/ref/settings-docker.xml package -DskipTests -FROM java:8-jdk-alpine -RUN adduser -Dh /home/gordon gordon +FROM openjdk:10 +RUN adduser --home /home/gordon --disabled-login gordon WORKDIR /static COPY --from=storefront /usr/src/atsea/app/react-app/build/ . WORKDIR /app