mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
raise docker limits
This commit is contained in:
parent
8dcfea4b90
commit
748f438718
1 changed files with 4 additions and 4 deletions
|
@ -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 && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue