Commit b1aaa967 authored by Dmitrii Safronov's avatar Dmitrii Safronov
Browse files

Merge branch 'zimniy-main-patch-98960' into 'main'

Edit Dockerfile

See merge request !22
parents 2b15de27 0469c371
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