]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
docker: add Dockerfile for Linode cluster dev env
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 21 Sep 2016 01:04:40 +0000 (21:04 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 21 Sep 2016 15:14:04 +0000 (11:14 -0400)
This Dockerfile is for setting up a dev environment for launching Ceph
clusters on Linode.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
docker/Linode.dockerfile [new file with mode: 0644]

diff --git a/docker/Linode.dockerfile b/docker/Linode.dockerfile
new file mode 100644 (file)
index 0000000..abfb3bd
--- /dev/null
@@ -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