From 0aa6b2f033c5d61b8728f848918a0cca4181589e Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Thu, 28 Feb 2019 09:58:11 -0800 Subject: Centos6 wasn't able to su into `ctng' user Signed-off-by: Alexey Neyman 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", "--" ] -- cgit v0.10.2-6-g49f6