docker/mod/periodic/Dockerfile

15 lines
460 B
Docker
Raw Normal View History

2020-05-22 14:56:45 +02:00
FROM debian:buster-slim
# -- install mongo cli
RUN apt-get update \
&& apt-get install -y wget libcurl4 \
&& wget https://repo.mongodb.org/apt/debian/dists/buster/mongodb-org/4.2/main/binary-amd64/mongodb-org-shell_4.2.6_amd64.deb \
&& dpkg -i mongodb*.deb \
&& rm mongodb*.deb
# -- install docker cli
COPY --from=library/docker:latest /usr/local/bin/docker /usr/bin/docker
COPY bbb-restart-kms entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]