Squashed commit of the following:
All checks were successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful

commit 59d03f97a3
Author: c6ristian <c6ristian@christian.moe>
Date:   Mon Jul 29 20:15:58 2024 +0200

    explain why the COPY step exists

commit 2fd26d6f6f
Author: c6ristian <c6ristian@christian.moe>
Date:   Mon Jul 29 19:55:52 2024 +0200

    no keep var run

commit cc2f0cdc81
Author: c6ristian <c6ristian@christian.moe>
Date:   Mon Jul 29 19:53:52 2024 +0200

    no keep var log

commit 88569e05f5
Author: c6ristian <c6ristian@christian.moe>
Date:   Mon Jul 29 19:46:31 2024 +0200

    COPY .keep

commit 1eca984167
Author: c6ristian <c6ristian@christian.moe>
Date:   Mon Jul 29 19:21:50 2024 +0200

    nextcloud: try a .keep file to save the folder
This commit is contained in:
christian 2024-07-29 21:28:58 +02:00
parent f88c3ce4e7
commit 99cce09ef6
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
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 \ RUN apt-get update \
&& apt-get install -y supervisor \ && apt-get install -y supervisor \
&& rm -rf /var/lib/apt/lists/* \ && 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 / COPY supervisord.conf /
ENV NEXTCLOUD_UPDATE=1 ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"] CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]