-
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.
Browse files
Browse the repository at this point in the history
…305) * EY-4245: Flyttar innlesing av filer over i rein kode * Tar bort innlesing til miljøvariablar no som det ikkje trengs lenger * Dockerfile for proxyen som baserer seg på distroless * Revert "Dockerfile for proxyen som baserer seg på distroless" This reverts commit 2edc4c7. * Reapply "Dockerfile for proxyen som baserer seg på distroless" This reverts commit 7aec705.
- Loading branch information
1 parent
96819bb
commit b7ee2ca
Showing
4 changed files
with
24 additions
and
25 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,5 +1,8 @@ | ||
FROM ghcr.io/navikt/baseimages/temurin:21 | ||
|
||
COPY import-vault-token.sh /init-scripts | ||
FROM gcr.io/distroless/java21 | ||
ENV TZ="Europe/Oslo" | ||
ENV JDK_JAVA_OPTIONS="-Dhttp.proxyHost=webproxy.nais -Dhttps.proxyHost=webproxy.nais -Dhttp.proxyPort=8088 -Dhttps.proxyPort=8088 -Dhttp.nonProxyHosts=localhost|127.0.0.1|10.254.0.1|*.local|*.adeo.no|*.nav.no|*.aetat.no|*.devillo.no|*.oera.no|*.nais.io|*.aivencloud.com|*.intern.dev.nav.no" | ||
WORKDIR /app | ||
COPY build/libs/*.jar ./ | ||
|
||
EXPOSE 8080 | ||
USER nonroot | ||
CMD ["app.jar"] |
This file was deleted.
Oops, something went wrong.
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
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