Created
December 18, 2014 07:58
-
-
Save AndreiPashkin/e1429df8e864b35dc8ac to your computer and use it in GitHub Desktop.
Docker cache tests
This file contains hidden or 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:14.04 | |
MAINTAINER Andrew Pashkin <[email protected]> | |
RUN apt-get -y update | |
RUN apt-get install -y software-properties-common | |
RUN apt-add-repository -y ppa:ansible/ansible | |
RUN apt-get -y update | |
RUN apt-get install -y ansible | |
WORKDIR /tmp/provision/ | |
ADD ./provision.yml /tmp/provision/ | |
RUN ansible-playbook provision.yml | |
WORKDIR / | |
ENTRYPOINT ["/bin/bash"] |
This file contains hidden or 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
--- | |
- name: tests configuration | |
hosts: 127.0.0.1 | |
connection: local | |
sudo: yes | |
tasks: | |
apt: name=htop state=latest update_cache=yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment