message: Refactor drush and drupal console installation - versions are now defined via environment variables
diff: @@ -5,10 +5,15 @@ FROM ${IMAGE_REPO:-lagoon}/php:${PHP_VERSION}-cli
  LABEL maintainer="amazee.io"
  ENV LAGOON=cli-drupal
  -RUN curl -L -o /usr/local/bin/drupal https://github.com/hechoendrupal/drupal-console-launcher/releases/download/1.4.0/drupal.phar \
  - && echo "db81f693aa509af76171ca3b1ed2e43655f7819c964dc6096334b719dff87271351466385845cd2195e346a66cd22d0d0c5c15e0370652d13e894737ad87f62b /usr/local/bin/drupal" | sha512sum \
  +# Defining Versions - https://github.com/hechoendrupal/drupal-console-launcher/releases
  +ENV DRUPAL_CONSOLE_LAUNCHER_VERSION=1.8.0 \
  + DRUPAL_CONSOLE_LAUNCHER_SHA=db43525189999d2056d4d8bcefaf9600d91df570 \
  + DRUSH_VERSION=8.1.18
  +
  +RUN curl -L -o /usr/local/bin/drupal "https://github.com/hechoendrupal/drupal-console-launcher/releases/download/${DRUPAL_CONSOLE_LAUNCHER_VERSION}/drupal.phar" \
  + && echo "${DRUPAL_CONSOLE_LAUNCHER_SHA} /usr/local/bin/drupal" | sha1sum \
  && chmod +x /usr/local/bin/drupal \
  - && php -d memory_limit=-1 /usr/local/bin/composer global require drush/drush:8.1.15 \
  + && php -d memory_limit=-1 /usr/local/bin/composer global require drush/drush:${DRUSH_VERSION} \
  && mkdir -p /home/.drush
  COPY drushrc.php drush.yml /home/.drush/
  