Skip to content

Commit

Permalink
New repo for mongotools
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Oct 3, 2023
1 parent f2d94cb commit c168433
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker/mongotools/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM debian:stable-slim
RUN apt-get update && apt-get -y install curl
ENV TAG=debian92-x86_64-100.8.0
ENV WDIR=/data/mongo
WORKDIR $WDIR
RUN curl -ksLO https://fastdl.mongodb.org/tools/db/mongodb-database-tools-$TAG.tgz \
&& tar xfz mongodb-database-tools-$TAG.tgz \
&& rm mongodb-database-tools-$TAG.tgz \
&& mv mongodb-database-tools-$TAG/bin . \
&& rm -rf mongodb-database-tools-$TAG
ENV PATH="${WDIR}/bin:${PATH}"
WORKDIR $WDIR/bin

0 comments on commit c168433

Please sign in to comment.