File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111 @echo " Building images for tags: $( TAGS) "
1212 set -e; for i in $( TAGS) ; do printf " \nBuilding $( NAME) :$$ i \n\n" ; cd drupal$$ i; \
1313 DOCKER_BUILDKIT=$(DOCKER_BUILDKIT ) docker build -t $(NAME ) :$$ i \
14- --no-cache --progress=plain \
14+ --pull -- no-cache --progress=plain \
1515 --build-arg BUILD_DATE=` date -u +" %Y-%m-%dT%H:%M:%SZ" ` \
1616 --build-arg VCS_REF=` git rev-parse --short HEAD` . ; \
1717 cd ..; done
Original file line number Diff line number Diff line change @@ -29,18 +29,18 @@ RUN set -e \
2929 ${PHP}-tokenizer \
3030 ${PHP}-xmlwriter \
3131 ${PHP}-zip \
32- && rm -fr /var/cache/apk/* \
3332 && ln -fs $(which ${PHP}) /usr/bin/php \
3433 && curl -sS https://getcomposer.org/installer | php -- --filename=composer --install-dir=/usr/bin \
3534 && 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 \
3736 && ln -s /root/.composer/vendor/bin/phpcs /usr/bin/phpcs \
3837 && ln -s /root/.composer/vendor/bin/phpcbf /usr/bin/phpcbf \
3938 # Link coder sniffs into the codesniffer sniffs directory.
4039 && ln -s /root/.composer/vendor/drupal/coder/coder_sniffer/Drupal /root/.composer/vendor/squizlabs/php_codesniffer/src/Standards/Drupal \
4140 && ln -s /root/.composer/vendor/drupal/coder/coder_sniffer/DrupalPractice /root/.composer/vendor/squizlabs/php_codesniffer/src/Standards/DrupalPractice \
4241 # Removing packages which needed only during the installation.
4342 && apk del --no-network --purge git \
43+ && rm -fr /var/cache/apk/* \
4444 # Clear composer cache - it will just take space.
4545 && rm -rf /root/.composer/cache/* \
4646 # Sniffs could take memory, set unlimited to be customized by end-user
You can’t perform that action at this time.
0 commit comments