Skip to content

Commit

Permalink
chore: bruker et image med m4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsladek committed Jan 21, 2025
1 parent 21a55c2 commit 3a38013
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Dockerfile
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"]

0 comments on commit 3a38013

Please sign in to comment.