From a6b21df5566a026d72853a9d5795fec23299f2c9 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Thu, 21 Sep 2023 10:08:51 +0100 Subject: [PATCH] Update base image registry to aws ecr --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 75318d51..fc54b960 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:17-alpine +FROM public.ecr.aws/docker/library/eclipse-temurin:17-alpine COPY ./build/libs/energy-label-service-SNAPSHOT.jar app.jar RUN apk update && apk upgrade && rm -rf /var/cache/apk/* @@ -11,4 +11,4 @@ RUN apk add --update tzdata \ RUN adduser -S elg USER elg -ENTRYPOINT exec java $JAVA_OPTS -jar app.jar \ No newline at end of file +ENTRYPOINT exec java $JAVA_OPTS -jar app.jar