forked from bspk/json-web-key-generator
-
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.
Merge pull request #1 from longgt/feature/bump-deps
bump deps
- Loading branch information
Showing
9 changed files
with
84 additions
and
45 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,19 +1,19 @@ | ||
|
||
# Get the builder image | ||
FROM maven:3.8.6-openjdk-11 AS builder | ||
FROM maven:3.9.7-eclipse-temurin-17 AS builder | ||
COPY . /build | ||
WORKDIR /build | ||
# Build the app | ||
# Artifact will be stored at /build/target/json-web-key-generator-0.9-SNAPSHOT-jar-with-dependencies.jar | ||
# Artifact will be stored at /build/target/json-web-key-generator-1.0.0-SNAPSHOT-jar-with-dependencies.jar | ||
RUN mvn package | ||
|
||
# Build the image with the new .jar binary | ||
# We need a jre 11+ starter container for this | ||
FROM openjdk:11-jre-slim | ||
FROM eclipse-temurin:17-jre-focal | ||
ARG GIT_COMMIT=unspecified | ||
ARG GIT_TAG=unspecified | ||
LABEL org.opencontainers.image.authors="Besmir Zanaj" | ||
LABEL org.opencontainers.image.revision=$GIT_COMMIT | ||
LABEL org.opencontainers.image.version="$GIT_TAG" | ||
COPY --from=0 /build/target/json-web-key-generator-0.9-SNAPSHOT-jar-with-dependencies.jar ./json-web-key-generator.jar | ||
COPY --from=0 /build/target/json-web-key-generator-1.0.0-SNAPSHOT-jar-with-dependencies.jar ./json-web-key-generator.jar | ||
ENTRYPOINT ["java", "-jar", "json-web-key-generator.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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,24 +3,17 @@ | |
|
||
<groupId>org.mitre</groupId> | ||
<artifactId>json-web-key-generator</artifactId> | ||
<version>0.9-SNAPSHOT</version> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>json-web-key-generator</name> | ||
<url>http://maven.apache.org</url> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<java.version>11</java.version> | ||
<java.version>17</java.version> | ||
</properties> | ||
|
||
<scm> | ||
<connection>scm:git:https://github.com/mitreid-connect/json-web-key-generator.git</connection> | ||
<developerConnection>scm:git:[email protected]:mitreid-connect/json-web-key-generator.git</developerConnection> | ||
<url>https://github.com/mitreid-connect/json-web-key-generator.git</url> | ||
<tag>HEAD</tag> | ||
</scm> | ||
|
||
<parent> | ||
<groupId>org.sonatype.oss</groupId> | ||
<artifactId>oss-parent</artifactId> | ||
|
@@ -91,7 +84,7 @@ | |
<dependency> | ||
<groupId>com.nimbusds</groupId> | ||
<artifactId>nimbus-jose-jwt</artifactId> | ||
<version>8.19</version> | ||
<version>9.39.1</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-cli</groupId> | ||
|
@@ -106,17 +99,12 @@ | |
<dependency> | ||
<groupId>com.google.code.gson</groupId> | ||
<artifactId>gson</artifactId> | ||
<version>2.8.6</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.bouncycastle</groupId> | ||
<artifactId>bcprov-jdk15on</artifactId> | ||
<version>1.66</version> | ||
<version>2.11.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.bouncycastle</groupId> | ||
<artifactId>bcpkix-jdk15on</artifactId> | ||
<version>1.66</version> | ||
<artifactId>bcpkix-jdk18on</artifactId> | ||
<version>1.78.1</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |
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
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