Loading Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading