mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-18 20:37:56 +00:00
Centos6 wasn't able to su into `ctng' user
Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
f208f0f782
commit
0aa6b2f033
@ -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", "--" ]
|
||||
|
Loading…
Reference in New Issue
Block a user