oci-images/nextcloud/Containerfile
christian 99cce09ef6
All checks were successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
Squashed commit of the following:
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
2024-07-29 21:28:58 +02:00

16 lines
454 B
Docker

ARG TAG=latest
FROM docker.io/library/nextcloud:${TAG}
RUN apt-get update \
&& apt-get install -y supervisor \
&& rm -rf /var/lib/apt/lists/* \
&& 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"]