|
@@ -4,7 +4,7 @@ COPY docker-entrypoint.sh \
|
|
|
updatedb.sh \
|
|
|
healthcheck.sh \
|
|
|
/opt/
|
|
|
-COPY mongodb-org-3.6.repo /etc/yum.repos.d/
|
|
|
+# COPY mongodb-org-3.6.repo /etc/yum.repos.d/
|
|
|
ENV CATALINA_HOME="/opt/tomcat"
|
|
|
ENV PATH=$CATALINA_HOME/bin:$PATH \
|
|
|
CATALINA_OPTS="-Dconfig.file=/etc/web-laboratory-admin/application.conf" \
|
|
@@ -29,7 +29,6 @@ RUN set -x \
|
|
|
&& yum install iputils -y \
|
|
|
&& yum install telnet -y \
|
|
|
&& yum install web-laboratory-admin -y \
|
|
|
- && yum install mongodb-org-shell -y \
|
|
|
&& yum install nc -y \
|
|
|
&& yum clean all \
|
|
|
&& chmod +x /opt/docker-entrypoint.sh \
|
|
@@ -38,5 +37,7 @@ RUN set -x \
|
|
|
&& cd /opt/tomcat/conf/web-laboratory-admin/localhost \
|
|
|
&& ln -s /etc/web-laboratory-admin/ROOT.xml ROOT.xml
|
|
|
|
|
|
+# && yum install mongodb-org-shell -y \
|
|
|
+
|
|
|
USER tomcat
|
|
|
CMD ["catalina.sh", "run"]
|