Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #325 from neicnordic/refactor/change-image-base
Browse files Browse the repository at this point in the history
change image base java #minor
  • Loading branch information
jbygdell authored Mar 30, 2023
2 parents d83e843 + e7ff41d commit f24427f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ COPY src/ /src/

RUN mvn clean install -DskipTests --no-transfer-progress

FROM openjdk:19-alpine
FROM eclipse-temurin:19-alpine

RUN apk add --no-cache ca-certificates java-cacerts \
&& ln -sf /etc/ssl/certs/java/cacerts $JAVA_HOME/lib/security/cacerts

RUN addgroup -g 1000 lega && \
adduser -D -u 1000 -G lega lega
Expand Down

0 comments on commit f24427f

Please sign in to comment.