Skip to content
Snippets Groups Projects
Commit cb0b4dd6 authored by Rustam Lotsmanenko (EPAM)'s avatar Rustam Lotsmanenko (EPAM)
Browse files

add run args

parent 6bbb4235
No related branches found
No related tags found
1 merge request!438Solxget/java 17 test
Pipeline #217395 failed
......@@ -12,4 +12,8 @@ RUN groupadd -g 10001 -r nonroot \
# Run as non-root user
USER 10001:10001
# Run the web service on container startup.
CMD java -Djava.security.egd=file:/dev/./urandom -Dserver.port=${PORT} -Dlog4j.formatMsgNoLookups=true -jar /app/notification-${PROVIDER_NAME}.jar
CMD java --add-opens java.base/java.lang=ALL-UNNAMED \
--add-opens java.base/java.lang.reflect=ALL-UNNAMED \
-Djava.security.egd=file:/dev/./urandom -Dserver.port=${PORT} \
-Dlog4j.formatMsgNoLookups=true -jar \
/app/notification-${PROVIDER_NAME}.jar
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment