mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 03:06:26 +02:00
update cs
This commit is contained in:
parent
c531ba2b67
commit
ff33cbc9e0
2 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ RUN useradd -m runner
|
||||||
|
|
||||||
RUN echo 'runner soft nproc 16' >> /etc/security/limits.conf
|
RUN echo 'runner soft nproc 16' >> /etc/security/limits.conf
|
||||||
RUN echo 'runner hard nproc 16' >> /etc/security/limits.conf
|
RUN echo 'runner hard nproc 16' >> /etc/security/limits.conf
|
||||||
RUN echo 'runner soft nofile 128' >> /etc/security/limits.conf
|
RUN echo 'runner soft nofile 256' >> /etc/security/limits.conf
|
||||||
RUN echo 'runner hard nofile 128' >> /etc/security/limits.conf
|
RUN echo 'runner hard nofile 256' >> /etc/security/limits.conf
|
||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
mcs $1 -out:binary
|
mcs $(echo $1 | sed 's/\///') -out:binary
|
||||||
timeout -s KILL 3 mono binary
|
timeout -s KILL 3 mono binary
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue