piston/docker/Dockerfile

19 lines
444 B
Docker
Raw Normal View History

2018-09-20 04:58:50 +02:00
FROM ubuntu:18.04
RUN apt-get update
2018-09-20 07:49:02 +02:00
RUN apt-get -y install bash-completion
RUN apt-get -y install build-essential
RUN apt-get -y install python
2018-09-20 04:58:50 +02:00
RUN apt-get -y install python3
2018-09-20 07:49:02 +02:00
RUN apt-get -y install ruby
RUN apt-get -y install nodejs
2018-09-21 04:36:21 +02:00
RUN apt-get -y install golang
2018-09-21 07:55:39 +02:00
2018-09-21 08:03:10 +02:00
RUN useradd -g root runner
2018-09-21 07:55:39 +02:00
RUN echo '@runner soft nproc 16' >> /etc/security/limits.conf
RUN echo '@runner hard nproc 16' >> /etc/security/limits.conf
2018-09-21 08:00:23 +02:00
2018-09-21 08:00:52 +02:00
USER runner
2018-09-21 08:05:34 +02:00
WORKDIR /tmp