summaryrefslogtreecommitdiff
path: root/test/docker/Dockerfile-centos6
diff options
context:
space:
mode:
Diffstat (limited to 'test/docker/Dockerfile-centos6')
-rw-r--r--test/docker/Dockerfile-centos623
1 files changed, 8 insertions, 15 deletions
diff --git a/test/docker/Dockerfile-centos6 b/test/docker/Dockerfile-centos6
index 8686fde4..6f886ffa 100644
--- a/test/docker/Dockerfile-centos6
+++ b/test/docker/Dockerfile-centos6
@@ -1,18 +1,11 @@
-FROM centos:6
+FROM vskytta/bash-completion:centos6
-# TODO: more coverage
-# /usr/bin/which: https://bugzilla.redhat.com/show_bug.cgi?id=1443357
-RUN sed -i -e /tsflags=nodocs/d /etc/yum.conf \
- && \
- yum -y install \
- https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm \
- && \
- yum -y install \
- autoconf \
- automake \
- dejagnu \
- tcllib \
- /usr/bin/xvfb-run /usr/bin/which
+# When adding new completions, install packages desired for their testing here
+# in case they're not in the base image, and remove later when the base image
+# has caught up.
+#RUN yum -y install \
+# some-package
-WORKDIR /usr/src/bash-completion
+WORKDIR /work
COPY . .
+CMD ["bash"]