Use root user as a cache workaround
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Henrik HerHde Huettemann 2023-09-25 17:01:36 +02:00
parent d11f4508e1
commit ececb59588
Signed by: HueHe
GPG key ID: 9F7BD10E0A8A111E

View file

@ -26,7 +26,6 @@ RUN apk add --update --no-cache \
pip install --no-cache-dir pre-commit=="${PRE_COMMIT_VERSION}" && \ pip install --no-cache-dir pre-commit=="${PRE_COMMIT_VERSION}" && \
gem install --no-document mdl -v "${MDL_VERSION}" && \ gem install --no-document mdl -v "${MDL_VERSION}" && \
mkdir /data && \ mkdir /data && \
adduser -D -g user user git config --global --add safe.directory /data
USER user:user
WORKDIR /data WORKDIR /data