fix: update Dockerfile to fix build error

- Add proper USER commands
- Add set -ex for better error handling
- Fix apache2-utils installation
This commit is contained in:
2025-11-05 09:22:47 -08:00
parent 85ffa579e4
commit 36c854bdf9

View File

@@ -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 \
RUN set -ex \
&& apt-get update \
&& apt-get install -y apache2-utils \
&& rm -rf /var/lib/apt/lists/*
USER nobody