Skip to content

Instantly share code, notes, and snippets.

@Vidimensional
Last active November 3, 2015 08:49
Show Gist options
  • Save Vidimensional/96ca646fb7d9d341392f to your computer and use it in GitHub Desktop.
Save Vidimensional/96ca646fb7d9d341392f to your computer and use it in GitHub Desktop.
python-rrdtoll playground
FROM debian:wheezy
RUN apt-get update
RUN apt-get install --assume-yes vim
RUN apt-get install --assume-yes rrdtool python-rrdtool
FROM vidimensional/lab_pyrrd
RUN apt-get install --assume-yes python-setuptools
RUN easy_install pip
RUN pip install pyserial
---
- 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