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:
commit
65b956143c
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||||
|
|
||||||
# Get dependencies
|
# Get dependencies
|
||||||
USER docker
|
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
|
USER root
|
||||||
|
|
||||||
############### APPLICATION INSTALL/INIT #################
|
############### APPLICATION INSTALL/INIT #################
|
||||||
|
|
Loading…
Add table
Reference in a new issue