How could i can set JAVA_OPTS in dockerfile?
Yogurt-lei opened this issue · 4 comments
Yogurt-lei commented
How could i can set JAVA_OPTS in dockerfile?
thanks for your reply : )
wglambert commented
https://docs.docker.com/engine/reference/builder/#env
https://vsupalov.com/docker-arg-env-variable-guide/#setting-env-values
Questions like these should be asked over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum
Yogurt-lei commented
sorry ,my description is not clear,I mean how to set the Java options of catalina.sh in the dockerfile :(,except use RUN sed -i -e "2iJAVA_OPTS=\"$JAVA_OPTIONS\"" $CATALINA_HOME/bin/catalina.sh
wglambert commented
Yogurt-lei commented
@wglambert
Thank you for your reply