diff --git a/Dockerfile b/Dockerfile index b9ba3800cbcab5c49c345a68ae4eefa97f467aa0..5953860d124b6cc4ca9e915c9af5e4380212a534 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ ARG DOCKER_REGISTRY=registry.cyberbrain.pw -FROM $DOCKER_REGISTRY/tools/docker/curl: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