From d0e66ba27cddd384eee37ee2c0841890512556cb 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?= Date: Wed, 5 Jun 2024 08:00:49 +0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b6afdcd..9b017dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ ARG DOCKER_REGISTRY=registry.cyberbrain.pw -FROM $DOCKER_REGISTRY/tools/docker/alpine:latest + +ARG ALPINE_IMAGE=tools/docker/alpine/main +ARG ALPINE_TAG=latest + +FROM $DOCKER_REGISTRY/$ALPINE_IMAGE:$ALPINE_TAG AS runtime RUN set -ex && \ apk --no-cache add bash curl jq && \ @@ -8,3 +12,5 @@ RUN set -ex && \ COPY entrypoint.sh /entrypoint.sh ENTRYPOINT [ "bash", "/entrypoint.sh" ] + +FROM runtime AS release -- GitLab