-
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.
Upgrade java to 21 and bump actions (#92)
* dummy commit * temurin java 21 * Bump actions * Bump more in gh actions * Bump dockerimage to java 21 distroless --------- Co-authored-by: sigurdgroneng <[email protected]>
- Loading branch information
1 parent
fbecf76
commit a9441c2
Showing
5 changed files
with
29 additions
and
37 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
FROM ghcr.io/navikt/poao-baseimages/java:17 | ||
FROM busybox:1.36.1-uclibc as busybox | ||
FROM gcr.io/distroless/java21-debian12:nonroot | ||
|
||
COPY --from=busybox /bin/sh /bin/sh | ||
COPY --from=busybox /bin/printenv /bin/printenv | ||
|
||
WORKDIR /app | ||
COPY /target/aktivitet-arena-acl.jar app.jar | ||
ENV TZ="Europe/Oslo" | ||
EXPOSE 8080 | ||
CMD ["app.jar"] |