Skip to content

Commit 9e24730

Browse files
authored
Merge pull request #170 from devilbox/release-0.110
Release v0.110
2 parents 1c53a0f + b095b04 commit 9e24730

9 files changed

Lines changed: 31 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
## Unreleased
55

66

7+
## Release 0.110
8+
9+
#### Fixed
10+
- [169](https://github.com/devilbox/docker-php-fpm/issues/169) Fixes download for drupal console
11+
- Fixes laravel installer for PHP 7.2
12+
13+
714
## Release 0.109
815

916
#### Fixed

Dockerfiles/work/Dockerfile-5.5

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ RUN set -eux \
205205
\
206206
\
207207
# -------------------- drupalconsole --------------------
208-
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
208+
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
209+
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
209210
&& chmod +x /usr/local/bin/drupal \
210211
\
211212
# -------------------- gitflow --------------------

Dockerfiles/work/Dockerfile-5.6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ RUN set -eux \
219219
\
220220
\
221221
# -------------------- drupalconsole --------------------
222-
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
222+
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
223+
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
223224
&& chmod +x /usr/local/bin/drupal \
224225
\
225226
# -------------------- gitflow --------------------

Dockerfiles/work/Dockerfile-7.0

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ RUN set -eux \
219219
\
220220
\
221221
# -------------------- drupalconsole --------------------
222-
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
222+
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
223+
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
223224
&& chmod +x /usr/local/bin/drupal \
224225
\
225226
# -------------------- gitflow --------------------

Dockerfiles/work/Dockerfile-7.1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ RUN set -eux \
219219
\
220220
\
221221
# -------------------- drupalconsole --------------------
222-
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
222+
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
223+
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
223224
&& chmod +x /usr/local/bin/drupal \
224225
\
225226
# -------------------- gitflow --------------------

Dockerfiles/work/Dockerfile-7.2

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ RUN set -eux \
219219
\
220220
\
221221
# -------------------- drupalconsole --------------------
222-
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
222+
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
223+
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
223224
&& chmod +x /usr/local/bin/drupal \
224225
\
225226
# -------------------- gitflow --------------------
@@ -232,7 +233,7 @@ RUN set -eux \
232233
# -------------------- laravel --------------------
233234
&& git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
234235
&& cd /usr/local/src/laravel-installer \
235-
&& git checkout $(git describe --abbrev=0 --tags) \
236+
&& git checkout v4.0.0 \
236237
\
237238
&& chown -R ${MY_USER}:${MY_GROUP} /usr/local/src/laravel-installer \
238239
&& su - ${MY_USER} -c 'PATH=/usr/local/bin:$PATH; cd /usr/local/src/laravel-installer && COMPOSER_MEMORY_LIMIT=-1 /usr/local/bin/composer install --no-interaction --no-progress --no-dev' \

Dockerfiles/work/Dockerfile-7.3

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ RUN set -eux \
219219
\
220220
\
221221
# -------------------- drupalconsole --------------------
222-
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
222+
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
223+
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
223224
&& chmod +x /usr/local/bin/drupal \
224225
\
225226
# -------------------- gitflow --------------------

Dockerfiles/work/Dockerfile-7.4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ RUN set -eux \
219219
\
220220
\
221221
# -------------------- drupalconsole --------------------
222-
&& curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal \
222+
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
223+
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
223224
&& chmod +x /usr/local/bin/drupal \
224225
\
225226
# -------------------- gitflow --------------------

build/ansible/group_vars/all/work.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,8 @@ software_available:
498498
disabled: [5.2, 5.3, 5.4, 8.0] # TODO: re-enable for 8.0 (currently errors)
499499
check: drupal --version | grep -E 'Drupal Console Launcher\s*[0-9][.0-9]'
500500
all:
501-
command: curl -sS -L --fail https://drupalconsole.com/installer -L -o /usr/local/bin/drupal
501+
pre: DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')"
502+
command: curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal
502503
post: chmod +x /usr/local/bin/drupal
503504
gitflow:
504505
check: git-flow version | grep -E '[0-9][.0-9]+'
@@ -546,6 +547,13 @@ software_available:
546547
&& git checkout $(git tag | grep '^v2\.3\.' | sort -u | tail -1) \
547548
post:
548549
ln -s /usr/local/src/laravel-installer/laravel /usr/local/bin/laravel
550+
7.2:
551+
pre: |
552+
git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
553+
&& cd /usr/local/src/laravel-installer \
554+
&& git checkout v4.0.0 \
555+
post:
556+
ln -s /usr/local/src/laravel-installer/bin/laravel /usr/local/bin/laravel
549557
all:
550558
pre: |
551559
git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \

0 commit comments

Comments
 (0)