-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to Java 17 incl. updates to build environment (#688)
* Move to Java 17 incl. updates to build environment * Update to Gh workflows to Java 17, distro Eclipse Temurin * Update to Java 17 prerequisite * Update docs to mention Java 17
- Loading branch information
Showing
7 changed files
with
13 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
FROM eclipse-temurin:11.0.17_8-jre | ||
FROM eclipse-temurin:17-jre | ||
|
||
LABEL org.opencontainers.image.authors="Fraunhofer AISEC <[email protected]>" | ||
|
||
# JVM monitoring and profiling | ||
EXPOSE 9000 | ||
|
||
# extract versioned distribution | ||
ADD codyze-cli/build/distributions/codyze-cli*.tar /usr/local/lib/ | ||
ADD codyze-cli/build/distributions/codyze*.tar /usr/local/lib/ | ||
# make Codyze script accessible through PATH and create version independent directory | ||
RUN ln -s /usr/local/lib/codyze-cli*/bin/codyze-cli /usr/local/bin/ \ | ||
&& ln -s /usr/local/lib/codyze-cli* /codyze-cli | ||
RUN ln -s /usr/local/lib/codyze*/bin/codyze /usr/local/bin/ \ | ||
&& ln -s /usr/local/lib/codyze* /codyze | ||
|
||
# default location for project to be analyzed | ||
WORKDIR /source | ||
|
||
# default execution | ||
ENTRYPOINT ["codyze-cli"] | ||
ENTRYPOINT ["codyze"] | ||
CMD ["analyze", "--config", "./codyze.json"] |
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ description: > | |
--- | ||
|
||
## Prerequisites | ||
* Java 11 or higher | ||
* Java 17 or higher | ||
|
||
|
||
## Build from Source | ||
|
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