|
@@ -3,6 +3,7 @@ ENTRYPOINT ["/tmp/docker-entrypoint.sh"]
|
|
|
COPY docker-entrypoint.sh \
|
|
|
healthcheck.sh \
|
|
|
/tmp/
|
|
|
+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/application.conf" \
|
|
@@ -21,6 +22,7 @@ RUN set -x \
|
|
|
&& yum install iputils -y \
|
|
|
&& yum install tomcat-8.0.26-01 -y \
|
|
|
&& yum install web-laboratory -y \
|
|
|
+ && yum install mongodb-org-shell -y \
|
|
|
&& yum clean all \
|
|
|
&& chmod +x /tmp/docker-entrypoint.sh \
|
|
|
&& chmod +x /tmp/healthcheck.sh \
|