File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ services:
66env :
77 matrix :
88 - DOCKERFILE="master"
9+ - DOCKERFILE="7"
10+ - DOCKERFILE="6"
911
1012before_script :
1113 - docker version
Original file line number Diff line number Diff line change 1+ FROM drupaldocker/php:cli
2+ MAINTAINER drupal-docker
3+
4+ RUN apt-get update && apt-get install -y mysql-client \
5+ && composer global require drush/drush:6.* \
6+ && ln -s ~/.composer/vendor/bin/drush /usr/local/bin/drush \
7+ && drush core-status -y \
8+ && rm -rf /var/lib/apt/lists/*
9+
10+ CMD ["drush" , "core-cli" ]
Original file line number Diff line number Diff line change 1+ FROM drupaldocker/php:cli
2+ MAINTAINER drupal-docker
3+
4+ RUN apt-get update && apt-get install -y mysql-client \
5+ && composer global require drush/drush:7.* \
6+ && ln -s ~/.composer/vendor/bin/drush /usr/local/bin/drush \
7+ && drush core-status -y \
8+ && rm -rf /var/lib/apt/lists/*
9+
10+ CMD ["drush" , "core-cli" ]
Original file line number Diff line number Diff line change 11FROM drupaldocker/php:cli
22MAINTAINER drupal-docker
33
4- ADD http://files.drush.org/drush.phar /usr/local/bin/drush
5-
64RUN apt-get update && apt-get install -y mysql-client \
7- && chmod a+x /usr/local/bin/drush; sync \
5+ && composer global require drush/drush:dev-master \
6+ && ln -s ~/.composer/vendor/bin/drush /usr/local/bin/drush \
87 && drush core-status -y \
9- && drush init -y \
8+ && drush core- init -y \
109 && rm -rf /var/lib/apt/lists/*
1110
1211CMD ["drush" , "core-cli" ]
You can’t perform that action at this time.
0 commit comments