Skip to content

Instantly share code, notes, and snippets.

@ericclemmons
Created September 2, 2014 15:57
Show Gist options
  • Save ericclemmons/4a75fc83499893458c77 to your computer and use it in GitHub Desktop.
Save ericclemmons/4a75fc83499893458c77 to your computer and use it in GitHub Desktop.
evolution/wordpress-example Dockerfile
FROM ubuntu:14.04
ENV DEBIAN_FRONTEND noninteractive
ENV HOME /root
RUN apt-get -qq -y update
RUN apt-get -qq -y install software-properties-common
RUN apt-add-repository -y ppa:ansible/ansible
RUN apt-get -qq -y update
RUN apt-get -qq -y install ansible
ADD . /vagrant
EXPOSE 22 80 443 3306
WORKDIR /vagrant/lib/ansible
RUN ansible-playbook provision.yml --connection=local -e stage=local
# ENTRYPOINT ["/usr/sbin/apache2"]
# CMD ["-D", "FOREGROUND"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment