Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0fatal committed Aug 21, 2023
1 parent bb7511e commit db6f147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ ARG TARGETARCH
ENV MINIO_CLIENT_PATH /usr/local/bin/mc
RUN wget https://dl.min.io/client/mc/release/linux-$TARGETARCH/mc -O $MINIO_CLIENT_PATH && chmod +x $MINIO_CLIENT_PATH

ENV MONGO_TOOLS mongodb-database-tools-ubuntu1804-$TARGETARCH-100.8.0.tgz
RUN wget https://fastdl.mongodb.org/tools/db/${MONGO_TOOLS}.tgz && \
RUN export MONGO_TOOLS=mongodb-database-tools-ubuntu1804-$( [ "$TARGETARCH" = "amd64" ] && echo "x86_64" || echo "arm64" )-100.8.0 && \
wget https://fastdl.mongodb.org/tools/db/${MONGO_TOOLS}.tgz && \
tar -zxvf ${MONGO_TOOLS}.tgz -C /usr/local/bin/ --strip-components=1 ${MONGO_TOOLS}/bin/ && \
rm -rf ${MONGO_TOOLS}.tgz $MONGO_TOOLS

Expand Down

0 comments on commit db6f147

Please sign in to comment.