split setenv
This commit is contained in:
@@ -26,6 +26,7 @@ RUN cd /var/lib/tomcat/dev && \
|
|||||||
mkdir web web-extra1 web-extra2 web-extra3 web-extra4 web-extra5 web-extra6 web-extra7
|
mkdir web web-extra1 web-extra2 web-extra3 web-extra4 web-extra5 web-extra6 web-extra7
|
||||||
|
|
||||||
# Add our Docker container initialization script
|
# Add our Docker container initialization script
|
||||||
|
ADD setenv.sh /usr/local/bin/${project.artifactId}-setenv.sh
|
||||||
COPY docker-entrypoint.sh /usr/local/bin
|
COPY docker-entrypoint.sh /usr/local/bin
|
||||||
|
|
||||||
# Add our Apache Tomcat configuration
|
# Add our Apache Tomcat configuration
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
CATALINA_OPTS="${JAVA_OPTS} ${CATALINA_OPTS}"
|
. /usr/local/bin/java-dcevm-hotswap-setenv.sh
|
||||||
|
. /usr/local/bin/tomcat-rad-setenv.sh
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
Reference in New Issue
Block a user