-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
66 additions
and
21 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Based on Quarkus' Dockerfile.jvm template for Gradle | ||
FROM registry.access.redhat.com/ubi8/openjdk-21-runtime:1.19 | ||
|
||
ENV LANGUAGE='en_US:en' | ||
|
||
# We make four distinct layers so if there are application changes the library layers can be re-used | ||
COPY --chown=185 build/quarkus-app/lib/ /deployments/lib/ | ||
COPY --chown=185 build/quarkus-app/*.jar /deployments/ | ||
COPY --chown=185 build/quarkus-app/app/ /deployments/app/ | ||
COPY --chown=185 build/quarkus-app/quarkus/ /deployments/quarkus/ | ||
|
||
USER root | ||
RUN mkdir -p /work/data \ | ||
&& chown -R 185:root /work | ||
|
||
EXPOSE 8080 | ||
USER 185 | ||
ENV JAVA_OPTS_APPEND="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" | ||
ENV JAVA_APP_JAR="/deployments/quarkus-run.jar" | ||
|
||
VOLUME ["/work/data"] | ||
|
||
ENTRYPOINT [ "/opt/jboss/container/java/run/run-java.sh" ] |
Binary file not shown.