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