diff --git a/Dockerfile b/Dockerfile index 81c01b0..5b4f989 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ FROM registry:2 +USER root # Install Apache utilities for htpasswd management -RUN apt-get update && apt-get install -y \ - apache2-utils \ - && rm -rf /var/lib/apt/lists/* \ No newline at end of file +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