Skip to content

Instantly share code, notes, and snippets.

@BrunoChauvet
Created May 24, 2015 02:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BrunoChauvet/7582d57ba1e52c64a6dd to your computer and use it in GitHub Desktop.
Save BrunoChauvet/7582d57ba1e52c64a6dd to your computer and use it in GitHub Desktop.
Vtiger Dockerfile
FROM maestrano:lamp
MAINTAINER Maestrano <it@maestrano.com>
# Add ansible configuration
ADD ansible/playbooks/ /etc/ansible/playbooks/
ADD ansible/templates/ /etc/ansible/templates/
ADD ansible/var/ /etc/ansible/var/
ADD ansible/var/settings.yml /etc/ansible/var/settings.yml
ADD ansible/hosts /etc/ansible/hosts
WORKDIR /etc/ansible
# Install Ansible
RUN apt-get -y update && \
ansible-playbook /etc/ansible/playbooks/install_vtiger6.yml -c local && \
apt-get clean purge --auto-remove -y python2.6 python2.6-minimal && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment