From 2ca382a808c5680d9c85d18e12aacac1d618d002 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sun, 23 Mar 2025 21:38:14 +0100 Subject: [PATCH] create /woodpecker/src dir with permission 777 --- Dockerfile | 2 ++ Dockerfile-root | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index bec79d6..90e5abb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ ENV PLUGIN_PROFILE=production RUN useradd -u "${PUID}" -m "${USER}" COPY script.sh /bin/ RUN chmod +x /bin/script.sh +RUN mkdir -p /woodpecker/src +RUN chmod 777 /woodpecker/src USER ${USER} WORKDIR ${HOMEDIR} COPY requirements.txt . diff --git a/Dockerfile-root b/Dockerfile-root index 045949d..711111e 100644 --- a/Dockerfile-root +++ b/Dockerfile-root @@ -10,6 +10,8 @@ ENV PLUGIN_PROFILE=production # RUN useradd -u "${PUID}" -m "${USER}" COPY script.sh /bin/ RUN chmod +x /bin/script.sh +RUN mkdir -p /woodpecker/src +RUN chmod 777 /woodpecker/src # USER ${USER} # WORKDIR ${HOMEDIR} COPY requirements.txt .