Skip to content

Commit

Permalink
Fix MongoDb containers [init.sh]
Browse files Browse the repository at this point in the history
  • Loading branch information
elkolotfi committed Jul 30, 2019
1 parent d3beabc commit 55ed483
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mongodb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ ADD ./dump /

RUN \
chmod +x /init.sh && \
apt-get update && apt-get dist-upgrade -y --force-yes && \
apt-get update && apt-get dist-upgrade -y --force-yes && apt-get install dos2unix && \
apt-get install psmisc -y -q && \
apt-get autoremove -y && apt-get clean && \
rm -rf /var/cache/* && rm -rf /var/lib/apt/lists/*
rm -rf /var/cache/* && rm -rf /var/lib/apt/lists/* && \
dos2unix -n /init.sh /initx.sh && chmod +x /initx.sh

ENTRYPOINT ["/init.sh"]
ENTRYPOINT ["/initx.sh"]

0 comments on commit 55ed483

Please sign in to comment.