Skip to content

Commit

Permalink
Merge pull request #1127 from navikt/docker-distroless-2-forsok
Browse files Browse the repository at this point in the history
Tester distroless på nytt, men fjerner unødvendig metric-uthenting av…
  • Loading branch information
charliemidtlyng authored May 7, 2024
2 parents b8affa0 + a904add commit 763925b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 97 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
FROM ghcr.io/navikt/baseimages/temurin:21
COPY ./target/familie-ef-mottak.jar "app.jar"
FROM gcr.io/distroless/java21-debian12:nonroot
WORKDIR /app
ENV TZ="Europe/Oslo"
COPY target/familie-ef-mottak.jar app.jar
ENV JAVA_OPTS="-XX:MaxRAMPercentage=75"
CMD ["app.jar"]

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 763925b

Please sign in to comment.