Fix: fix path /var/run/supervisord/ does not exist
All checks were successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful

This commit is contained in:
christian 2024-07-28 00:13:26 +02:00
parent 69c5ef00fe
commit 0025b72e4b
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
2 changed files with 3 additions and 2 deletions

View file

@ -54,7 +54,7 @@ steps:
image: docker.io/library/alpine image: docker.io/library/alpine
when: when:
- branch: main - branch: main
- evaluate: 'NEXTCLOUD_VERSION == "28"' evaluate: 'NEXTCLOUD_VERSION == "28"'
secrets: secrets:
- GIT_API_TOKEN - GIT_API_TOKEN
commands: commands:

View file

@ -4,7 +4,8 @@ FROM docker.io/library/nextcloud:${TAG}
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
supervisor \ supervisor \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& mkdir -p /var/log/supervisord /var/run/supervisord && mkdir -p /var/log/supervisord \
&& mkdir -p /var/run/supervisord
ADD supervisord.conf /supervisord.conf ADD supervisord.conf /supervisord.conf