Skip to content

Commit 4c9255a

Browse files
committed
Add local composer cache
1 parent 2dc649e commit 4c9255a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ down:
145145
@if [ ! -z "$(shell docker ps -f 'name=$(COMPOSE_PROJECT_NAME)_chrome' --format '{{.Names}}')" ]; then \
146146
echo 'Stoping browser driver.' && make -s browser_driver_stop; fi
147147

148-
DIRS = web/core web/libraries web/modules/contrib web/profiles/contrib web/sites web/themes/contrib vendor
148+
DIRS = web/core web/libraries web/modules/contrib web/profiles/contrib web/sites web/themes/contrib vendor .cache/composer/cache
149149

150150
## Totally remove project build folder, docker containers and network
151151
clean: info

docker/docker-compose.override.yml.default

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ services:
66
php:
77
environment:
88
COMPOSER_MEMORY_LIMIT: "-1"
9+
COMPOSER_CACHE_DIR: /var/www/html/.cache/composer/cache
910
# BLACKFIRE_CLIENT_ID: x
1011
# BLACKFIRE_CLIENT_TOKEN: x
1112
# NEW_RELIC_LICENSE_KEY: x

0 commit comments

Comments
 (0)