diff --git a/DockerFile b/DockerFile index 619f25f..62fb50c 100644 --- a/DockerFile +++ b/DockerFile @@ -10,10 +10,7 @@ RUN mkdir -p /etc/mongod \ && chown -R mongodb:mongodb /etc/mongod \ && chmod -R 700 /etc/mongod -# Update Ubuntu base Image -RUN apt-get -y update -RUN apt-get -y upgrade - +# Update Ubuntu base Image and remove uneeded packages RUN set -eux; \ apt-get update; \ apt-get install -y gosu; \