From 52a96e8c608405addf59596fc820d442e5824151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=A1=D0=B0?= =?UTF-8?q?=D1=84=D1=80=D0=BE=D0=BD=D0=BE=D0=B2?= <zimniy@cyberbrain.pw> Date: Mon, 19 Feb 2024 23:44:08 +0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 278c34f..79dda7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ -ARG DOCKER_REGISTRY=registry.cyberbrain.pw -FROM $DOCKER_REGISTRY/tools/docker/git-sync:latest +ARG GIT_SYNC_VERSION=v3.6.9 + +FROM registry.k8s.io/git-sync/git-sync:${GIT_SYNC_VERSION} AS runtime ENV GIT_SYNC_ROOT='/tmp/git' \ GIT_SYNC_DEST='sync' \ @@ -27,3 +28,5 @@ RUN set -ex \ VOLUME ["/sync"] USER 65533:65533 + +FROM runtime AS release -- GitLab