From e22afe6031b6d36a5a34b3eab8e330a98facd8eb Mon Sep 17 00:00:00 2001 From: Simon L Date: Fri, 16 Jun 2023 15:14:40 +0200 Subject: [PATCH] fix the deletion of files and folders during mastercontainer build Signed-off-by: Simon L --- Containers/mastercontainer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containers/mastercontainer/Dockerfile b/Containers/mastercontainer/Dockerfile index f3d7f4d7..3fb5b914 100644 --- a/Containers/mastercontainer/Dockerfile +++ b/Containers/mastercontainer/Dockerfile @@ -62,7 +62,7 @@ RUN set -ex; \ chmod +x /usr/local/bin/composer; \ cd /var/www/docker-aio; \ git clone https://github.com/nextcloud-releases/all-in-one.git --depth 1 .; \ - find ./ -maxdepth 1 -mindepth 1 -not -path ./php -delete; \ + find ./ -maxdepth 1 -mindepth 1 -not -path ./php -exec rm -r {} \; ; \ chown www-data:www-data -R /var/www/docker-aio; \ cd php; \ sudo -u www-data composer install --no-dev; \