From 54f98eac66df8d7ecee16401c07ffbba0d040a39 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 20 Sep 2016 21:04:40 -0400 Subject: [PATCH 1/2] docker: add Dockerfile for Linode cluster dev env This Dockerfile is for setting up a dev environment for launching Ceph clusters on Linode. Signed-off-by: Patrick Donnelly --- docker/Linode.dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docker/Linode.dockerfile diff --git a/docker/Linode.dockerfile b/docker/Linode.dockerfile new file mode 100644 index 000000000..abfb3bd72 --- /dev/null +++ b/docker/Linode.dockerfile @@ -0,0 +1,18 @@ +# This Dockerfile is for setting up a dev environment for launching Ceph +# clusters on Linode. + +FROM ubuntu:16.04 + +WORKDIR /root +RUN apt-get update +RUN apt-get install -y build-essential git ansible python-netaddr rsync +RUN wget -O vagrant_1.8.5_x86_64.deb https://releases.hashicorp.com/vagrant/1.8.5/vagrant_1.8.5_x86_64.deb +RUN dpkg -i vagrant_1.8.5_x86_64.deb +RUN rm -f vagrant_1.8.5_x86_64.deb +RUN vagrant plugin install vagrant-linode +# Download patch from https://github.com/displague/vagrant-linode/pull/66 +RUN wget -O .vagrant.d/gems/gems/vagrant-linode-0.2.7/lib/vagrant-linode/actions/create.rb https://raw.githubusercontent.com/batrick/vagrant-linode/dfa305dab9c5a8ba49b50e7d9d1159977708c2d1/lib/vagrant-linode/actions/create.rb +RUN mkdir .ssh && ssh-keygen -f .ssh/id_rsa -t rsa -N '' +RUN git clone https://github.com/ceph/ceph-ansible.git + +WORKDIR /root/ceph-ansible From e756214bb5691debfa4830c6c7571fc123e2ab4c Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Wed, 21 Sep 2016 18:21:50 -0400 Subject: [PATCH 2/2] docker: add README documenting directory purpose Signed-off-by: Patrick Donnelly --- docker/README.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 docker/README.md diff --git a/docker/README.md b/docker/README.md new file mode 100644 index 000000000..5ad56200e --- /dev/null +++ b/docker/README.md @@ -0,0 +1,2 @@ +This directory includes Dockerfiles for building development environments to +run ceph-ansible.