summaryrefslogtreecommitdiffstats
path: root/.travis/centos6/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '.travis/centos6/Dockerfile')
-rw-r--r--.travis/centos6/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/.travis/centos6/Dockerfile b/.travis/centos6/Dockerfile
new file mode 100644
index 00000000..e223b439
--- /dev/null
+++ b/.travis/centos6/Dockerfile
@@ -0,0 +1,13 @@
+FROM centos:6
+
+RUN yum -y groupinstall 'Development Tools'
+RUN yum -y install yum-utils
+
+RUN yum -y install sudo
+
+RUN useradd -s /bin/bash -m rpm
+RUN echo >> /etc/sudoers
+RUN echo "rpm ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
+
+USER rpm
+WORKDIR /home/rpm