0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-07-31 10:38:05 +02:00

Add occ and occ-cron scripts

This allows easier access to `occ` and `occ-cron` within the container.

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
This commit is contained in:
Daniel Rudolf 2023-12-13 16:06:45 +01:00
parent f14ad96e2d
commit 2eb3b7dc2f
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538
5 changed files with 41 additions and 5 deletions

View file

@ -149,7 +149,8 @@ RUN set -ex; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; \
rm -rf /var/lib/apt/lists/*
COPY *.sh upgrade.exclude /
COPY entrypoint.sh cron.sh upgrade.exclude /
COPY occ occ-cron /usr/local/bin/
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]