diff --git a/Dockerfile b/Dockerfile index a16de70e9ab456ac347ad7069cba6e2d36f3cc8c..84cd595f5f845b36795cbbbb4dbf9719bb877038 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG DOCKER_REGISTRY=registry.cyberbrain.pw -FROM $DOCKER_REGISTRY/tools/docker/alpine:latest +FROM $DOCKER_REGISTRY/tools/docker/alpine:latest AS runtime RUN set -ex && \ apk --no-cache add rsync openssh-client && \ @@ -7,3 +7,5 @@ RUN set -ex && \ ENTRYPOINT ["rsync"] CMD [ "--version" ] + +FROM runtime AS release