Unable to run tomcat container
Summary
When running tomcat container, an error is printed to the console
Steps to reproduce
docker run registry1.dsop.io/ironbank/opensource/apache/tomcat-openjdk8
What is the current bug behavior?
When running the tomcat container, the container won't start with an error
docker: Error response from daemon: Cannot mkdir: /usr/local/tomcat/bin is not a directory.
What is the expected correct behavior?
Tomcat should start
Possible fixes
Seems to be a problem in the Dockerfile, I think that the Dockerfile is overwriting the tomcat bin directory
COPY scripts/catalina.sh /usr/local/tomcat/bin
should be
COPY scripts/catalina.sh /usr/local/tomcat/bin/
Additionally, the tomcat-openjdk11 container has the same COPY command which causes similar problems.
Defintion of Done
-
Bug has been identified and corrected within the container
/cc @ironbank-notifications/bug