diff --git a/legacy-mongo-shell/Dockerfile b/legacy-mongo-shell/Dockerfile index c817d8d..8734c78 100644 --- a/legacy-mongo-shell/Dockerfile +++ b/legacy-mongo-shell/Dockerfile @@ -1,5 +1,5 @@ # sync tag with git clone's argument below -FROM mongo:7.0.5 AS build +FROM mongo:7.0.7 AS build RUN apt update RUN apt install -y \ @@ -12,7 +12,7 @@ RUN apt install -y \ WORKDIR /mongo # sync tag with image tag above -RUN git clone -b r7.0.5 --depth 1 --progress https://github.com/mongodb/mongo.git . +RUN git clone -b r7.0.7 --depth 1 --progress https://github.com/mongodb/mongo.git . RUN python3 -m pip install -r etc/pip/compile-requirements.txt @@ -21,7 +21,7 @@ RUN python3 -m pip install -r etc/pip/compile-requirements.txt # or add `-j1` parameter to build sequentially. RUN python3 buildscripts/scons.py install-mongo --linker=gold --disable-warnings-as-errors -FROM mongo:7.0.5 +FROM mongo:7.0.7 COPY --from=build /mongo/build/install/bin/mongo /usr/bin RUN ln -sv /usr/bin/mongo /mongo