c56b8283 by Adam Heath

Importing into a fresh repository.

1 parent 21217919
wp-cli.phar
FROM docker.brainfood.com/php5-fpm
ADD wp-cli.phar /usr/local/bin/wp-cli
RUN chmod +x /usr/local/bin/wp-cli
RUN ["apt-docker", \
"-y", "install", "jq", \
";" ]
version: '2'
services:
build:
image: docker.brainfood.com/wordpress-support
build:
context: .
args:
- http_proxy
- https_proxy
download:
image: docker.brainfood.com/debian-support
environment:
- http_proxy
- https_proxy
volumes:
- .:/tmp/wordpress-support/
command: ["/tmp/wordpress-support/download-files", "/tmp/wordpress-support"]
#!/bin/sh
set -e
volume="$1"
shift
docker-download-file https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar "$volume/wp-cli.phar"