-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bruker et image med m4 support
- Loading branch information
Showing
1 changed file
with
1 addition
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,9 @@ | ||
FROM gcr.io/distroless/java21-debian12:nonroot | ||
FROM ghcr.io/navikt/fp-baseimages/distroless:21 | ||
|
||
LABEL org.opencontainers.image.source=https://github.com/navikt/ft-inntektsmelding | ||
# Healtcheck lokalt/test | ||
COPY --from=busybox:stable-musl /bin/wget /usr/bin/wget | ||
|
||
# Working dir for RUN, CMD, ENTRYPOINT, COPY and ADD (required because of nonroot user cannot run commands in root) | ||
WORKDIR /app | ||
|
||
COPY target/classes/logback*.xml conf/ | ||
COPY target/lib/*.jar lib/ | ||
COPY target/app.jar . | ||
|
||
ENV TZ=Europe/Oslo | ||
ENV JAVA_OPTS="-Djava.security.egd=file:/dev/urandom \ | ||
-Dlogback.configurationFile=conf/logback.xml" | ||
|
||
CMD ["app.jar"] |