File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,8 @@ COPY --from=builder /usr/local/lib/libsodium.so* /usr/local/lib/
99
99
COPY --from=builder /usr/local/include/sodium/ /usr/local/include/sodium/
100
100
RUN ldconfig
101
101
102
+ ENV LD_LIBRARY_PATH=/usr/local/lib
103
+
102
104
# We make four distinct layers so if there are application changes the library layers can be re-used
103
105
COPY --chown=185 build/quarkus-app/lib/ /deployments/lib/
104
106
COPY --chown=185 build/quarkus-app/*.jar /deployments/
@@ -107,7 +109,7 @@ COPY --chown=185 build/quarkus-app/quarkus/ /deployments/quarkus/
107
109
108
110
EXPOSE 8080
109
111
USER 185
110
- ENV JAVA_OPTS_APPEND="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
112
+ ENV JAVA_OPTS_APPEND="-Djava.library.path=/usr/local/lib - Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
111
113
ENV JAVA_APP_JAR="/deployments/quarkus-run.jar"
112
114
113
115
ENTRYPOINT [ "/opt/jboss/container/java/run/run-java.sh" ]
You can’t perform that action at this time.
0 commit comments