message: Refactor composer installation - versions are now defined via environment variables
diff: @@ -5,6 +5,10 @@ FROM ${IMAGE_REPO:-lagoon}/php:${PHP_VERSION}-fpm
  LABEL maintainer="amazee.io"
  ENV LAGOON=cli
  +# Defining Versions - https://getcomposer.org/download/
  +ENV COMPOSER_VERSION=1.8.4 \
  + COMPOSER_HASH_SHA256=1722826c8fbeaf2d6cdd31c9c9af38694d6383a0f2bf476fe6bbd30939de058a
  +
  RUN apk add --no-cache git \
  unzip \
  gzip \
  @@ -21,8 +25,8 @@ RUN apk add --no-cache git \
  && apk add --no-cache nodejs-current nodejs-npm yarn --force-overwrite --repository http://dl-cdn.alpinelinux.org/alpine/edge/main/ --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ \
  && ln -s /usr/lib/ssh/sftp-server /usr/local/bin/sftp-server \
  && rm -rf /var/cache/apk/* \
  - && curl -L -o /usr/local/bin/composer https://github.com/composer/composer/releases/download/1.8.4/composer.phar \
  - && echo "1722826c8fbeaf2d6cdd31c9c9af38694d6383a0f2bf476fe6bbd30939de058a /usr/local/bin/composer" | sha256sum \
  + && curl -L -o /usr/local/bin/composer https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar \
  + && echo "$COMPOSER_HASH_SHA256 /usr/local/bin/composer" | sha256sum \
  && chmod +x /usr/local/bin/composer \
  && php -d memory_limit=-1 /usr/local/bin/composer global require hirak/prestissimo \
  && mkdir -p /home/.ssh \
  