path: root/docker
diff options
authorJonathan Holloway <>2017-08-09 01:02:37 -0500
committerJonathan Holloway <>2017-08-09 01:03:31 -0500
commit3f38fd0b62eb0e2397e9bef4bcf8227a33f5361c (patch)
tree3444f3ae9c410547e4130997700cfc1beaebb8f8 /docker
parent67925826933fefa6bd778e288880e6bddc08cec9 (diff)
fix dockerfile gdeploy PyYAML pip/rpm conflict
* PyYAML is already installed via pip form glusto image and gdeploy installs PyYAML as dependency from rpm. The resulting conflict fails the container build. Dockerfile: changed order of install, added glusto and pylint/pep8 defaults.yml: sets glusto defaults in container image Change-Id: I47eaa1fbe74cc619043d975034083c5766e6acd1 Signed-off-by: Jonathan Holloway <>
Diffstat (limited to 'docker')
2 files changed, 22 insertions, 8 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index f51ab66..675de21 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,14 +1,25 @@
-FROM loadtheaccumulator/glusto
+FROM fedora
+# install gdeploy first due to pip/rpm PyYAML conflict
+RUN dnf install -y wget
+RUN wget -q -O /etc/yum.repos.d/gdeploy.repo
+RUN dnf install -y gdeploy-*
+# install glusto
+RUN dnf install -y git
+RUN dnf install -y python-pip
+RUN pip install --upgrade pip
+RUN pip install --upgrade git+git://
+RUN mkdir /etc/glusto/
+COPY defaults/defaults.yml /etc/glusto/
# install glusto-tests libraries
RUN cd /; git clone
RUN cd /glusto-tests/glustolibs-gluster; python install
RUN cd /glusto-tests/glustolibs-io; python install
RUN cd /glusto-tests/glustolibs-misc; python install
-# install gdeploy
-#RUN pip install --upgrade pip
-#RUN dnf install -y gcc
-#RUN pip install --upgrade git+git://
-RUN dnf install -y wget
-RUN wget -q
-RUN dnf install -y gdeploy-*
+# install dev extras
+RUN dnf install -y pylint
+RUN dnf install -y python-pep8
diff --git a/docker/defaults/defaults.yml b/docker/defaults/defaults.yml
new file mode 100644
index 0000000..84d8e10
--- /dev/null
+++ b/docker/defaults/defaults.yml
@@ -0,0 +1,3 @@
+ssh_keyfile: "~/.ssh/id_rsa"
+use_controlpersist: True
+log_color: True