diff --git a/Dockerfile b/Dockerfile index ab84ddf3..28e641d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM bellsoft/liberica-openjdk-alpine:17.0.13-12 AS builder +FROM bellsoft/liberica-openjdk-alpine:21.0.1-12 AS builder COPY target/antu-*-SNAPSHOT.jar application.jar RUN java -Djarmode=layertools -jar application.jar extract -FROM bellsoft/liberica-openjdk-alpine:17.0.13-12 +FROM bellsoft/liberica-openjdk-alpine:21.0.1-12 RUN apk update && apk upgrade && apk add --no-cache tini WORKDIR /deployments RUN addgroup appuser && adduser --disabled-password appuser --ingroup appuser