Last active
November 3, 2015 08:49
-
-
Save Vidimensional/96ca646fb7d9d341392f to your computer and use it in GitHub Desktop.
python-rrdtoll playground
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 debian:wheezy | |
RUN apt-get update | |
RUN apt-get install --assume-yes vim | |
RUN apt-get install --assume-yes rrdtool python-rrdtool |
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 vidimensional/lab_pyrrd | |
RUN apt-get install --assume-yes python-setuptools | |
RUN easy_install pip | |
RUN pip install pyserial |
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
--- | |
- hosts: all | |
tasks: | |
- name: Add Docker apt repo keys. | |
apt_key: keyserver='hkp://pgp.mit.edu:80' id='36A1D7869245C8950F966E92D8576A8BA88D21E9' | |
- name: Add Docker apt repo. | |
apt_repository: repo='deb https://apt.dockerproject.org/repo ubuntu-wily main' state='present' | |
register: docker_repo | |
- name: apt-get update. | |
apt: update_cache='yes' | |
when: docker_repo | changed | |
- name: Install Docker | |
apt: name='docker-engine' state='present' force='yes' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment