piston/docker/Dockerfile

18 lines
423 B
Docker

FROM ubuntu:18.04
RUN apt-get update
RUN apt-get -y install bash-completion
RUN apt-get -y install build-essential
RUN apt-get -y install python
RUN apt-get -y install python3
RUN apt-get -y install ruby
RUN apt-get -y install nodejs
RUN apt-get -y install golang
RUN useradd runner
RUN echo '@runner soft nproc 16' >> /etc/security/limits.conf
RUN echo '@runner hard nproc 16' >> /etc/security/limits.conf
USER runner