Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4d2aaf4

Browse files
committed
Clean-up build warnings #10
1 parent 4b8d26a commit 4d2aaf4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build:
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

‎drupal10/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /