fabric8 to jkube; latest fixpacks

This commit is contained in:
2023-09-05 15:44:13 -04:00
parent 82b3c68d21
commit a42895297a
3 changed files with 41 additions and 12 deletions

View File

@@ -26,14 +26,14 @@ RUN cd /var/lib/tomcat/dev && \
mkdir web web-extra1 web-extra2 web-extra3 web-extra4 web-extra5 web-extra6 web-extra7
# Add our Docker container initialization script
ADD setenv.sh /usr/local/bin/${project.artifactId}-setenv.sh
COPY docker-entrypoint.sh /usr/local/bin
ADD maven/target/setenv.sh /usr/local/bin/${namespace.prefix}-setenv.sh
COPY maven/target/docker-entrypoint.sh /usr/local/bin
RUN chmod 755 /usr/local/bin/docker-entrypoint.sh
# Add our Apache Tomcat configuration
# This gives us dynamic injection points into the running webapps
COPY tomcat-context.xml /var/lib/tomcat/conf/context.xml
ADD hotswap-agent.properties /var/lib/tomcat/lib
COPY maven/target/tomcat-context.xml /var/lib/tomcat/conf/context.xml
ADD maven/target/hotswap-agent.properties /var/lib/tomcat/lib
# Listening for HTTP (not HTTPS) traffic
EXPOSE 8080