build: Add --root-user-action flag

This commit is contained in:
Kroese 2025-04-07 18:47:10 +02:00 committed by GitHub
parent 639725957d
commit 41b05cf9be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,7 +44,7 @@ RUN set -eu && \
netcat-openbsd \
qemu-system-x86 && \
apt-get clean && \
pip3 install --no-cache-dir --break-system-packages dissect.cstruct && \
pip3 install --no-cache-dir --break-system-packages --root-user-action dissect.cstruct && \
mkdir -p /etc/qemu && \
echo "allow br0" > /etc/qemu/bridge.conf && \
unlink /etc/nginx/sites-enabled/default && \