Merge pull request #16700 from snipe/docker-arm-size-fix

[Docker] Don't cache composer deps, remove any .git repos that creep in
This commit is contained in:
snipe
2025-04-14 22:15:10 +01:00
committed by GitHub
+1 -1
View File
@@ -110,7 +110,7 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
# Get dependencies
USER docker
RUN composer install --no-dev --working-dir=/var/www/html
RUN COMPOSER_CACHE_DIR=/dev/null composer install --no-dev --working-dir=/var/www/html && rm -rf /var/www/html/vendor/*/*/.git
USER root
############### APPLICATION INSTALL/INIT #################