-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP configure auth clients using a Map so configs can be merged from …
…different property sources
- Loading branch information
Showing
9 changed files
with
134 additions
and
129 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 |
---|---|---|
|
@@ -11,7 +11,7 @@ FROM eclipse-temurin:17-jre | |
LABEL maintainer="GeoServer PSC <[email protected]>" | ||
|
||
WORKDIR /opt/app/bin | ||
ENV JAVA_TOOL_OPTS="\ | ||
ENV DEF_JAVA_TOOL_OPTS="\ | ||
--add-exports=java.desktop/sun.awt.image=ALL-UNNAMED \ | ||
--add-opens=java.base/java.lang=ALL-UNNAMED \ | ||
--add-opens=java.base/java.util=ALL-UNNAMED \ | ||
|
@@ -22,6 +22,9 @@ ENV JAVA_TOOL_OPTS="\ | |
--add-opens=java.naming/com.sun.jndi.ldap=ALL-UNNAMED \ | ||
-Djava.awt.headless=true" | ||
ENV JAVA_OPTS="-XX:MaxRAMPercentage=80 -XshowSettings:system" | ||
|
||
ENV JAVA_TOOL_OPTS="$DEF_JAVA_TOOL_OPTS $JAVA_OPTS" | ||
|
||
EXPOSE 8080 | ||
|
||
COPY --from=builder dependencies/ ./ | ||
|
@@ -36,4 +39,12 @@ HEALTHCHECK \ | |
--retries=5 \ | ||
CMD curl -f -s -o /dev/null localhost:8080/actuator/health || exit 1 | ||
|
||
CMD exec java $JAVA_OPTS $JAVA_TOOL_OPTS org.springframework.boot.loader.JarLauncher | ||
#CMD exec java $JAVA_OPTS $JAVA_TOOL_OPTS org.springframework.boot.loader.JarLauncher | ||
|
||
ARG APP_ARGS="" | ||
#ENTRYPOINT exec java $JAVA_OPTS $JAVA_TOOL_OPTS org.springframework.boot.loader.JarLauncher | ||
#ENTRYPOINT ["java", "$JAVA_TOOL_OPTS", "org.springframework.boot.loader.JarLauncher"] | ||
|
||
ENTRYPOINT [ "/bin/bash", "-c", "exec java $JAVA_TOOL_OPTS org.springframework.boot.loader.JarLauncher \"${@}\"", "--" ] | ||
|
||
CMD ["${APP_ARGS}"] |
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