summaryrefslogtreecommitdiff
path: root/testing/docker/centos6/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'testing/docker/centos6/Dockerfile')
-rw-r--r--testing/docker/centos6/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/docker/centos6/Dockerfile b/testing/docker/centos6/Dockerfile
index 02a261f..c3a0da8 100644
--- a/testing/docker/centos6/Dockerfile
+++ b/testing/docker/centos6/Dockerfile
@@ -8,4 +8,6 @@ RUN yum install -y autoconf gperf bison flex texinfo help2man gcc-c++ libtool li
RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64
RUN chmod a+x /sbin/dumb-init
RUN echo 'export PATH=/opt/ctng/bin:$PATH' >> /etc/profile
+# The limits in this file prevent su'ing to ctng user
+RUN rm -f /etc/security/limits.d/90-nproc.conf
ENTRYPOINT [ "/sbin/dumb-init", "--" ]