change to root user to install bash

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-09-17 10:40:03 +02:00
parent f529714a07
commit 2aa8aa7dda

View file

@ -1,9 +1,11 @@
# syntax=docker/dockerfile:latest # syntax=docker/dockerfile:latest
FROM ghcr.io/nextcloud-releases/whiteboard:v1.0.1 FROM ghcr.io/nextcloud-releases/whiteboard:v1.0.1
USER root
RUN set -ex; \ RUN set -ex; \
apk upgrade --no-cache -a; \ apk upgrade --no-cache -a; \
apk add --no-cache bash apk add --no-cache bash
USER nobody
COPY --chmod=775 start.sh /start.sh COPY --chmod=775 start.sh /start.sh