oci-images/nextcloud/Containerfile
chris 146ca74b84
All checks were successful
Build Nextcloud / Build Nextcloud 34 Image (push) Successful in 7m7s
nextcloud: build oci-images with php strict_mode enabled
2026-10-21 20:31:49 +02:00

18 lines
554 B
Docker

ARG TAG
FROM git.hamburg.ccc.de/ccchh/oci-images/nextcloud-base:${TAG}
COPY 99-security-hardening.ini /usr/local/etc/php/conf.d/99-security-hardening.ini
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"]