Makefile 351 B

12345678910
  1. .PHONY: console build
  2. console: build
  3. docker run -it -v="$(PWD):/braintree-php" --net="host" braintree-php /bin/bash -l -c "\
  4. curl -sS https://getcomposer.org/installer | php -d suhosin.executor.include.whitelist=phar && \
  5. php -d suhosin.executor.include.whitelist=phar ./composer.phar install; \
  6. bash"
  7. build:
  8. docker build -t braintree-php .