anchor.diff:  WORKDIR /opt/rancherize
   
   # install composer packages
  -RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
  -    && php -r "if (hash_file('SHA384', 'composer-setup.php') === '$COMPOSER_HASH') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
  -    && php composer-setup.php \
  -    && php -r "unlink('composer-setup.php');" \
  +RUN curl -sSL "https://gist.githubusercontent.com/justb81/1006b89e41e41e1c848fe91969af7a0b/raw/c12faf968e659356ec1cb53f313e7f8383836be3/getcomposer.sh" | sh \
       && ./composer.phar install --no-dev && rm composer.phar
   
   ENTRYPOINT ["/opt/rancherize/rancherize"]
  
positive.code: FROM php:7.2-rc-alpine
  
  ARG COMPOSER_HASH=544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061
  ARG DOCKER_COMPOSE_VERSION=1.15.0
  ARG RANCHER_COMPOSE_VERSION=0.12.5
  ARG RANCHERIZE_HOME=/home/rancherize
  
negative.code: 	&& pip install docker-compose==$DOCKER_COMPOSE_VERSION
  
  # load rancher-compose
  RUN curl -sSL "https://github.com/rancher/rancher-compose/releases/download/v$RANCHER_COMPOSE_VERSION/rancher-compose-linux-amd64-v$RANCHER_COMPOSE_VERSION.tar.gz" \
  	| tar xz \
  	&& mv rancher-compose-*/rancher-compose /usr/local/bin/ \
  	&& cp /usr/local/bin/rancher-compose /usr/local/bin/rancher-compose-$RANCHER_COMPOSE_VERSION
  