This repository has been archived by the owner. It is now read-only.
Switch branches/tags
Nothing to show
Find file Copy path
fb59000 Oct 21, 2014
2 contributors

Users who have contributed to this file

@abadger @mpdehaan
14 lines (10 sloc) 384 Bytes
FROM ansible/centos7-ansible:stable
# or, for example, FROM ansible/ubuntu14.04-ansible:stable
# Add playbooks to the Docker image
ADD ansible /srv/example/
WORKDIR /srv/example
# Run Ansible to configure the Docker image
RUN ansible-playbook site.yml -c local
# Other Dockerfile directives are still valid
EXPOSE 22 3000 80
ENTRYPOINT ["/usr/local/bin/apachectl", "-DFOREGROUND"]