summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-02-28 17:58:11 (GMT)
committerAlexey Neyman <stilor@att.net>2019-02-28 17:58:11 (GMT)
commit0aa6b2f033c5d61b8728f848918a0cca4181589e (patch)
tree90612112fcaa2ee748323fd4e983d69459cc2a46
parentf208f0f782586cd3e2e1c897cf631ad5a8f9ba93 (diff)
Centos6 wasn't able to su into `ctng' user
Signed-off-by: Alexey Neyman <stilor@att.net>
-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", "--" ]