2018-09-20 04:58:50 +02:00
|
|
|
FROM ubuntu:18.04
|
|
|
|
|
2018-10-07 02:04:17 +02:00
|
|
|
WORKDIR /tmp
|
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-10-20 19:20:12 +02:00
|
|
|
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
|
2018-09-21 08:00:23 +02:00
|
|
|
|
2018-10-07 02:04:17 +02:00
|
|
|
RUN sed -i 's/http:\/\/archive.ubuntu.com\/ubuntu\//http:\/\/mirror.math.princeton.edu\/pub\/ubuntu\//' /etc/apt/sources.list
|
|
|
|
RUN apt-get update && \
|
|
|
|
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 && \
|
|
|
|
apt-get -y install nano dpkg-dev build-essential python python3 ruby nodejs golang php7.2 r-base mono-complete nasm openjdk-8-jdk
|