-
-
Save AgentO3/8367805 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
RUN sed -i 's/main/main universe multiverse/' /etc/apt/sources.list | |
RUN apt-get update -q | |
RUN apt-get install -qy build-essential python-dev python-pip curl | |
#RUN apt-get install -qy autoconf | |
RUN pip install ansible | |
RUN mkdir -p /etc/ansible | |
RUN curl -L https://github.com/gc3-uzh-ch/ansible-playbooks/archive/cloud.tar.gz | tar -zxf- | |
RUN /bin/echo -e "[slurm_master]\nlocalhost" > /etc/ansible/hosts | |
RUN cp /bin/true /bin/hostname | |
RUN cd ansible-playbooks-cloud && ansible-playbook site.yml -c local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment