diff --git a/Dockerfile b/Dockerfile index 4f5349fdd388f3a6dee5f67743109260874b8d50..5953860d124b6cc4ca9e915c9af5e4380212a534 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ ARG DOCKER_REGISTRY=registry.cyberbrain.pw -FROM $DOCKER_REGISTRY/tools/docker/curl/main:latest + +ARG CURL_IMAGE=tools/docker/curl/main +ARG CURL_TAG=latest + +FROM $DOCKER_REGISTRY/$CURL_IMAGE:$CURL_TAG AS runtime USER root @@ -12,3 +16,5 @@ RUN set -ex && \ COPY "entrypoint.sh" "/entrypoint.sh" USER curl_user + +FROM runtime AS release