Symlink /usr/local/bin/drush to drush.phar to fix TYPO3\PharStreamWrapper\Exception: Unexpected file extension
This commit is contained in:
parent
c64a669525
commit
c3bd73f89f
|
@ -15,9 +15,10 @@ RUN apt-get update && apt-get install -y git unzip
|
|||
|
||||
# Install Drush 8 with the phar file.
|
||||
ENV DRUSH_VERSION 8.2.1
|
||||
RUN curl -fsSL -o /usr/local/bin/drush "https://github.com/drush-ops/drush/releases/download/${DRUSH_VERSION}/drush.phar" && \
|
||||
chmod +x /usr/local/bin/drush && \
|
||||
drush core-status
|
||||
RUN curl -fsSL -o /usr/local/bin/drush.phar "https://github.com/drush-ops/drush/releases/download/${DRUSH_VERSION}/drush.phar" \
|
||||
&& chmod +x /usr/local/bin/drush.phar \
|
||||
&& ln -s /usr/local/bin/drush.phar /usr/local/bin/drush \
|
||||
&& drush core-status
|
||||
|
||||
# Install mariadb-client so Drush can connect to the database.
|
||||
RUN apt-get update && apt-get install -y mariadb-client
|
||||
|
|
Loading…
Reference in New Issue