mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-22 15:36:52 +00:00
Merge pull request #2431 from nextcloud/enh/noid/decrease-size-mastercontainer
mastercontainer - delete things except the needed php dir
This commit is contained in:
commit
f861c66ade
1 changed files with 1 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ RUN set -e && \
|
||||||
chmod +x /usr/local/bin/composer; \
|
chmod +x /usr/local/bin/composer; \
|
||||||
cd /var/www/docker-aio; \
|
cd /var/www/docker-aio; \
|
||||||
git clone https://github.com/nextcloud-releases/all-in-one.git --depth 1 .; \
|
git clone https://github.com/nextcloud-releases/all-in-one.git --depth 1 .; \
|
||||||
|
find ./ -not -path ./php -maxdepth 1 -mindepth 1 -delete; \
|
||||||
cd php; \
|
cd php; \
|
||||||
composer install --no-dev; \
|
composer install --no-dev; \
|
||||||
composer clearcache; \
|
composer clearcache; \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue