summaryrefslogtreecommitdiffstats
path: root/.travis/centos6/Dockerfile
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-01-22 11:02:38 +0100
committerPierre Ossman <ossman@cendio.se>2019-01-22 11:02:38 +0100
commitef894eb06646fd7eab5ee23887e3311ef33a5d84 (patch)
tree75eba7fa0ad33b814050f7a727754f760aad4ddb /.travis/centos6/Dockerfile
parentab22bc0aabae1fc742b808e6316cd3ce2ca81f23 (diff)
parent9371e4b467af3d3bf4ec88896706521070cb2e48 (diff)
downloadtigervnc-ef894eb06646fd7eab5ee23887e3311ef33a5d84.tar.gz
tigervnc-ef894eb06646fd7eab5ee23887e3311ef33a5d84.zip
Merge branch 'docker' of https://github.com/CendioOssman/tigervnc
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