mirror of
https://github.com/saveweb/mongo_stwp_image.git
synced 2024-09-18 15:45:28 -07:00
clean
This commit is contained in:
parent
c0fa91bddc
commit
0d0277c9c6
@ -11,9 +11,7 @@ RUN set -eux; \
|
||||
ca-certificates \
|
||||
gnupg \
|
||||
gosu \
|
||||
hostname \
|
||||
curl \
|
||||
zstd \
|
||||
htop
|
||||
|
||||
# import pub key
|
||||
@ -41,8 +39,8 @@ RUN set -eux; \
|
||||
mkdir -p /etc/mongo; \
|
||||
chown mongodb:mongodb /etc/mongo
|
||||
|
||||
COPY --chown=root:root --chmod=0725 build/empty /etc/mongo/mongod.conf
|
||||
COPY --chown=mongodb:mongodb --chmod=0400 build/empty /etc/mongo/mongo.keyfile
|
||||
COPY build/empty /etc/mongo/mongod.conf
|
||||
COPY build/empty /etc/mongo/mongo.keyfile
|
||||
COPY build/start-mongo.sh /usr/bin/start-mongo.sh
|
||||
|
||||
# /var/lib/mongodb
|
||||
|
Loading…
Reference in New Issue
Block a user