c56b8283 by Adam Heath

Importing into a fresh repository.

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