Skip to content

Instantly share code, notes, and snippets.

@athoune
Last active Aug 29, 2015
Embed
What would you like to do?
Building wp-cli
FROM debian:wheezy
RUN apt-get -y update
RUN apt-get -y upgrade
RUN apt-get -y install ca-certificates wget fakeroot
WORKDIR /tmp
ADD https://raw.githubusercontent.com/wp-cli/wp-cli/master/utils/wp-cli-updatedeb.sh /tmp/
RUN /bin/bash wp-cli-updatedeb.sh
@athoune
Copy link
Author

athoune commented Dec 31, 2014

docker build -t wpcli .
docker run --rm -v `pwd`:/data wpcli find /tmp/ -name  php-wpcli_* -exec cp {}  /data/ \;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment