Compare commits

...

5 commits

Author SHA1 Message Date
christian 59d03f97a3
explain why the COPY step exists
All checks were successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
2024-07-29 20:15:58 +02:00
christian 2fd26d6f6f
no keep var run
All checks were successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
2024-07-29 19:55:52 +02:00
christian cc2f0cdc81
no keep var log
All checks were successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
2024-07-29 19:53:52 +02:00
christian 88569e05f5
COPY .keep
All checks were successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
2024-07-29 19:51:27 +02:00
christian 1eca984167
nextcloud: try a .keep file to save the folder
All checks were successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
2024-07-29 19:21:50 +02:00
2 changed files with 5 additions and 2 deletions

0
nextcloud/.keep Normal file
View file

View file

@ -4,10 +4,13 @@ FROM docker.io/library/nextcloud:${TAG}
RUN apt-get update \
&& apt-get install -y supervisor \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir /var/log/supervisord /var/run/supervisord
&& mkdir -p /var/log/supervisord /var/run/supervisord
# We need to copy a file to the supervisord folder in /var/run so it exists when the container starts.
COPY .keep /var/run/supervisord/
COPY supervisord.conf /
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]