diff --git a/Dockerfile b/Dockerfile index 5b4f989..ac7abf3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,4 @@ FROM registry:2 -USER root -# Install Apache utilities for htpasswd management -RUN set -ex \ - && apt-get update \ - && apt-get install -y apache2-utils \ - && rm -rf /var/lib/apt/lists/* - -USER nobody \ No newline at end of file +# The registry:2 image is based on Alpine, so we use apk +RUN apk add --no-cache apache2-utils \ No newline at end of file