UNCLASSIFIED

Commit 1f97d04c authored by Olga O's avatar Olga O
Browse files

update

parent 105ee5f8
Pipeline #408470 passed with stages
in 11 minutes and 22 seconds
...@@ -56,7 +56,6 @@ RUN set -x && \ ...@@ -56,7 +56,6 @@ RUN set -x && \
RUN mkdir -p /data/db /data/configdb \ RUN mkdir -p /data/db /data/configdb \
&& chown -R mongodb:mongodb /data/db /data/configdb &&\ && chown -R mongodb:mongodb /data/db /data/configdb &&\
chmod o-w licenses/LICENSE &&\
chmod o-w /etc/pki/ca-trust/source/anchors/Certificates_PKCS7_v5.7_DoD.pem &&\ chmod o-w /etc/pki/ca-trust/source/anchors/Certificates_PKCS7_v5.7_DoD.pem &&\
chmod o-w /usr/local/bin/docker-entrypoint.sh chmod o-w /usr/local/bin/docker-entrypoint.sh
...@@ -64,6 +63,7 @@ RUN mkdir -p /data/db /data/configdb \ ...@@ -64,6 +63,7 @@ RUN mkdir -p /data/db /data/configdb \
RUN echo CtrlAltDelBurstAction=none >> /etc/systemd/system.conf RUN echo CtrlAltDelBurstAction=none >> /etc/systemd/system.conf
COPY LICENSE /licenses/ COPY LICENSE /licenses/
RUN chmod o-w /licenses/LICENSE
USER mongodb:mongodb USER mongodb:mongodb
ENTRYPOINT ["docker-entrypoint.sh"] ENTRYPOINT ["docker-entrypoint.sh"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment