piston/docker/Dockerfile

31 lines
1.1 KiB
Docker
Raw Normal View History

2018-09-20 04:58:50 +02:00
FROM ubuntu:18.04
2018-09-22 08:11:53 +02:00
RUN sed -i 's/http:\/\/archive.ubuntu.com\/ubuntu\//http:\/\/mirror.math.princeton.edu\/pub\/ubuntu\//' /etc/apt/sources.list
2018-09-20 04:58:50 +02:00
RUN apt-get update
2018-09-22 08:11:53 +02:00
RUN echo "tzdata tzdata/Areas select America" > /tmp/tzseed.txt; \
echo "tzdata tzdata/Zones/America select Chicago" >> /tmp/tzseed.txt; \
debconf-set-selections /tmp/tzseed.txt && \
apt-get install -y tzdata && \
rm /tmp/tzseed.txt
RUN apt-get -y install nano dpkg-dev
2018-09-20 07:49:02 +02:00
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-22 08:11:53 +02:00
RUN apt-get -y install php7.2
RUN apt-get -y install r-base
RUN apt-get -y install mono-complete
2018-09-28 22:24:24 +02:00
RUN apt-get -y install nasm
2018-10-06 04:18:46 +02:00
RUN apt-get -y install openjdk-8-jdk
2018-09-21 07:55:39 +02:00
2018-09-21 16:58:01 +02:00
RUN useradd -m runner
2018-09-21 07:55:39 +02:00
2018-09-21 19:05:55 +02:00
RUN echo 'runner soft nproc 16' >> /etc/security/limits.conf
RUN echo 'runner hard nproc 16' >> /etc/security/limits.conf
2018-09-22 08:35:12 +02:00
RUN echo 'runner soft nofile 256' >> /etc/security/limits.conf
RUN echo 'runner hard nofile 256' >> /etc/security/limits.conf
2018-09-21 08:00:23 +02:00
2018-09-21 08:05:34 +02:00
WORKDIR /tmp