Commit 0469c371 authored by Dmitrii Safronov's avatar Dmitrii Safronov
Browse files

Edit Dockerfile

parent 2b15de27
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ ARG SOPDS_GIT_TAG
############################################################

FROM $DOCKER_IMAGE_GIT AS git
RUN ( git clone https://gitlab.cyberbrain.pw/mirror/sopds.git /tmp || echo error: failed to clone master repository. ) && \
RUN ( git clone https://gitlab.cyberbrain.cc/mirror/sopds.git /tmp || echo error: failed to clone master repository. ) && \
    git -C /tmp -c advice.detachedHead=false checkout ${SOPDS_GIT_TAG:-$(git -C /tmp tag | grep -e '^v' | sort -V | tail -n 1)} && \
    rm -rf /tmp/.git