diff options
authorJonathan Holloway <>2017-08-09 01:02:37 -0500
committerJonathan Holloway <>2017-08-09 01:03:31 -0500
commit3f38fd0b62eb0e2397e9bef4bcf8227a33f5361c (patch)
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 <>
2 files changed, 22 insertions, 8 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index f51ab660d..675de2192 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 000000000..84d8e104d
--- /dev/null
+++ b/docker/defaults/defaults.yml
@@ -0,0 +1,3 @@
+ssh_keyfile: "~/.ssh/id_rsa"
+use_controlpersist: True
+log_color: True