- Add proper USER commands - Add set -ex for better error handling - Fix apache2-utils installation
10 lines
205 B
Docker
10 lines
205 B
Docker
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 |