diff options
2 files changed, 40 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
new file mode 100644
index 000000000..f51ab660d
--- /dev/null
+++ b/docker/Dockerfile
@@ -0,0 +1,14 @@
+FROM loadtheaccumulator/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-*
diff --git a/docker/README b/docker/README
new file mode 100644
index 000000000..d9a985165
--- /dev/null
+++ b/docker/README
@@ -0,0 +1,26 @@
+This Dockerfile adds the Gluster glustolibs libraries on top of the Glusto container to provide the complete environment required to run Gluster QE tests under Glusto.
+This container is currently based on Fedora and also installs gdeploy as required by NFS Ganesha tests.
+This is currently a minimal implementation. More to come.
+To use the glusto-tests container, you can run tests using the pre-gen'd container or create a Dockerfile and customize to fit your own needs.
+To use the pre-gen'd image...
+1. Pull the docker image down to your local system.
+ # docker pull loadtheaccumulator/glusto-tests
+2. Run the image with docker.
+ # docker run -it --rm --privileged=true -v <local_dir_path>:<container_dir_path> /bin/bash
+ ... or for example to run a test directly...
+ # docker run -it --rm --privileged=true \
+ -v <local_dir_path>:<container_dir_path> \
+ \
+ /usr/bin/glusto -c <container_path_to_config> \
+ --pytest="-vv <container_dir_path>/"
+More robust docs and examples coming soon.