File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11
11
@echo " Building images for tags: $( TAGS) "
12
12
set -e; for i in $( TAGS) ; do printf " \nBuilding $( NAME) :$$ i \n\n" ; cd drupal$$ i; \
13
13
DOCKER_BUILDKIT=$(DOCKER_BUILDKIT ) docker build -t $(NAME ) :$$ i \
14
- --no-cache --progress=plain \
14
+ --pull -- no-cache --progress=plain \
15
15
--build-arg BUILD_DATE=` date -u +" %Y-%m-%dT%H:%M:%SZ" ` \
16
16
--build-arg VCS_REF=` git rev-parse --short HEAD` . ; \
17
17
cd ..; done
Original file line number Diff line number Diff line change @@ -29,18 +29,18 @@ RUN set -e \
29
29
${PHP}-tokenizer \
30
30
${PHP}-xmlwriter \
31
31
${PHP}-zip \
32
- && rm -fr /var/cache/apk/* \
33
32
&& ln -fs $(which ${PHP}) /usr/bin/php \
34
33
&& curl -sS https://getcomposer.org/installer | php -- --filename=composer --install-dir=/usr/bin \
35
34
&& composer global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true \
36
- && composer global require drupal/coder -o --apcu-autoloader --update-no-dev --no-suggest -- prefer-dist ^8.3 \
35
+ && composer global require drupal/coder ^8.3 -o --apcu-autoloader --update-no-dev --prefer-dist \
37
36
&& ln -s /root/.composer/vendor/bin/phpcs /usr/bin/phpcs \
38
37
&& ln -s /root/.composer/vendor/bin/phpcbf /usr/bin/phpcbf \
39
38
# Link coder sniffs into the codesniffer sniffs directory.
40
39
&& ln -s /root/.composer/vendor/drupal/coder/coder_sniffer/Drupal /root/.composer/vendor/squizlabs/php_codesniffer/src/Standards/Drupal \
41
40
&& ln -s /root/.composer/vendor/drupal/coder/coder_sniffer/DrupalPractice /root/.composer/vendor/squizlabs/php_codesniffer/src/Standards/DrupalPractice \
42
41
# Removing packages which needed only during the installation.
43
42
&& apk del --no-network --purge git \
43
+ && rm -fr /var/cache/apk/* \
44
44
# Clear composer cache - it will just take space.
45
45
&& rm -rf /root/.composer/cache/* \
46
46
# Sniffs could take memory, set unlimited to be customized by end-user
You can’t perform that action at this time.
0 commit comments