Sign inSign up

bijoydocker/php-nginx-drush

By bijoydocker

•Updated over 5 years ago

Image
0

1.6K

bijoydocker/php-nginx-drush repository overview

FROM bijoydocker/php-nginx:7.3.1-fpm-1.15.8

⁠Set the Drush version.

ENV DRUSH_VERSION 8.1.16

⁠Install Drush 8 with the phar file.

RUN set -ex;

savedAptMark="$(apt-mark showmanual)";

apt-get update;
apt-get install -y --no-install-recommends ca-certificates;
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;

⁠reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies

RUN apt-mark auto '.' > /dev/null;
apt-mark manual $savedAptMark;
ldd "$(php -r 'echo ini_get("extension_dir");')"/
.so
| awk '/=>/ { print $3 }'
| sort -u
| xargs -r dpkg-query -S
| cut -d: -f1
| sort -u
| xargs -rt apt-mark manual;
\

Tag summary

Content type

Image

Digest

Size

174.5 MB

Last updated

over 5 years ago

docker pull bijoydocker/php-nginx-drush:7.4.15-fpm-1.15.8-drush-8.1.16