Skip to content

Instantly share code, notes, and snippets.

@cgunnels
Created February 5, 2020 20:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgunnels/f8c9d8594030ccc614dd70a58ec9d523 to your computer and use it in GitHub Desktop.
Save cgunnels/f8c9d8594030ccc614dd70a58ec9d523 to your computer and use it in GitHub Desktop.
Failed Dockerfile RUN command for installing composer
RUN if [ ! -d "../vendor" ]; then \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer && \ composer install && rm $(which composer) \
;fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment