-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to Athenz version 1.12.x (#5)
* Updated to Athenz version 1.12.x * Fixed Dockerfile * Renamed from athenz-auth-core to athenz-plugins * Fixed InstanceJenkinsProviderTest * Fixed InstanceJenkinsProvider
- Loading branch information
Showing
10 changed files
with
372 additions
and
984 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,8 +1,8 @@ | ||
FROM docker.io/library/maven:3-eclipse-temurin-11-focal as builder | ||
FROM docker.io/library/maven:3-eclipse-temurin-17-focal as builder | ||
|
||
ARG VERSION= | ||
ARG ATHENZ_VERSION= | ||
ARG JAVA_VERSION=11 | ||
ARG JAVA_VERSION=17 | ||
# date -u +'%Y-%m-%dT%H:%M:%SZ' | ||
ARG BUILD_DATE | ||
# git rev-parse --short HEAD | ||
|
@@ -15,7 +15,7 @@ LABEL org.opencontainers.image.title="Athenz Auth Core" | |
LABEL org.opencontainers.image.authors="ctyano <[email protected]>" | ||
LABEL org.opencontainers.image.vendor="ctyano <[email protected]>" | ||
LABEL org.opencontainers.image.licenses="Private" | ||
LABEL org.opencontainers.image.url="ghcr.io/ctyano/athenz-auth-core" | ||
LABEL org.opencontainers.image.url="ghcr.io/ctyano/athenz-plugins" | ||
LABEL org.opencontainers.image.documentation="https://www.athenz.io/" | ||
LABEL org.opencontainers.image.source="https://github.com/AthenZ/athenz" | ||
|
||
|
@@ -37,8 +37,8 @@ FROM docker.io/library/openjdk:22-slim-bullseye | |
|
||
ARG VERSION | ||
|
||
COPY --from=builder /target/athenz-auth-core-$VERSION.jar /target/athenz-auth-core-$VERSION.jar | ||
COPY --from=builder /target/athenz-plugins-$VERSION.jar /target/athenz-plugins-$VERSION.jar | ||
|
||
ENV JAR_DESTINATION "/" | ||
|
||
ENTRYPOINT ["/bin/sh", "-c", "cp -p /target/athenz-auth-core-*.jar ${JAR_DESTINATION}/athenz-auth-core.jar"] | ||
ENTRYPOINT ["/bin/sh", "-c", "cp -p /target/athenz-plugins-*.jar ${JAR_DESTINATION}/athenz-plugins.jar"] |
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
Oops, something went wrong.