raise docker limits

This commit is contained in:
Brian Seymour 2018-10-20 12:20:12 -05:00
parent 8dcfea4b90
commit 748f438718
1 changed files with 4 additions and 4 deletions

View File

@ -4,10 +4,10 @@ WORKDIR /tmp
RUN useradd -m runner
RUN echo 'runner soft nproc 16' >> /etc/security/limits.conf
RUN echo 'runner hard nproc 16' >> /etc/security/limits.conf
RUN echo 'runner soft nofile 256' >> /etc/security/limits.conf
RUN echo 'runner hard nofile 256' >> /etc/security/limits.conf
RUN echo 'runner soft nproc 256' >> /etc/security/limits.conf
RUN echo 'runner hard nproc 256' >> /etc/security/limits.conf
RUN echo 'runner soft nofile 4096' >> /etc/security/limits.conf
RUN echo 'runner hard nofile 4096' >> /etc/security/limits.conf
RUN sed -i 's/http:\/\/archive.ubuntu.com\/ubuntu\//http:\/\/mirror.math.princeton.edu\/pub\/ubuntu\//' /etc/apt/sources.list
RUN apt-get update && \