Skip to content

Commit 9638a74

Browse files
authored
Merge pull request #96 from navikt/distroless
Bruk distroless som base image
2 parents 7ff0f75 + 5c0e096 commit 9638a74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM ghcr.io/navikt/baseimages/temurin:21-appdynamics
2-
ENV APPD_ENABLED=true
3-
4-
COPY java-debug.sh /init-scripts/08-java-debug.sh
1+
FROM gcr.io/distroless/java17-debian12
2+
USER nonroot
53

64
COPY build/libs/app.jar app.jar
5+
6+
CMD ["app.jar"]

0 commit comments

Comments
 (0)