mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 07:05:52 -05:00
added mongodb-tools (mongodump) for autoBackup-option
This commit is contained in:
parent
118044bcf3
commit
bdb244b8d3
@ -8,7 +8,15 @@ RUN mkdir -p /opt/meshcentral
|
||||
# meshcentral installation
|
||||
WORKDIR /opt/meshcentral
|
||||
|
||||
# add mongodb repository to apt
|
||||
RUN apt-get update && apt-get install -y gnupg2 wget
|
||||
RUN wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | apt-key add -
|
||||
RUN echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main" | tee /etc/apt/sources.list.d/mongodb-org-5.0.list
|
||||
|
||||
# install mongodb
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y mongodb-org-tools \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir /opt/meshcentral/meshcentral
|
||||
COPY ./ /opt/meshcentral/meshcentral/
|
||||
|
Loading…
Reference in New Issue
Block a user