2021-07-15 09:01:19 +02:00
|
|
|
FROM debian:stretch
|
2017-05-01 22:38:13 +02:00
|
|
|
|
|
|
|
MAINTAINER Thijn <thijn@viceunderdogs.com>
|
|
|
|
|
|
|
|
# Install packages
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
wget \
|
|
|
|
unzip \
|
2017-05-03 12:24:23 +02:00
|
|
|
p7zip \
|
2019-01-09 19:27:31 +01:00
|
|
|
openjdk-8-jre-headless \
|
2021-07-15 09:01:19 +02:00
|
|
|
openjdk-8-jdk-headless \
|
|
|
|
libstdc++6 \
|
|
|
|
valgrind \
|
|
|
|
libasan3 \
|
|
|
|
gcc \
|
|
|
|
g++ \
|
|
|
|
build-essential \
|
|
|
|
libcurl3 \
|
2017-05-03 12:24:23 +02:00
|
|
|
&& adduser --disabled-password --home /home/container container
|
2017-05-01 22:38:13 +02:00
|
|
|
|
2021-07-15 09:01:19 +02:00
|
|
|
RUN mkdir -p /usr/lib/jvm/java-12-openjdk-amd64 && cd /usr/lib/jvm/java-12-openjdk-amd64 && \
|
|
|
|
wget 'https://download.java.net/java/GA/jdk12.0.2/e482c34c86bd4bf8b56c0b35558996b9/10/GPL/openjdk-12.0.2_linux-x64_bin.tar.gz' && \
|
|
|
|
tar -xzv --strip-components=1 -f openjdk-12.0.2_linux-x64_bin.tar.gz
|
|
|
|
|
|
|
|
RUN apt-get install -y screen gdb
|
|
|
|
RUN cd /tmp && wget 'http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb' && \
|
|
|
|
dpkg -i libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb && rm libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb
|
|
|
|
|
2017-05-03 12:24:23 +02:00
|
|
|
USER container
|
|
|
|
ENV USER container
|
|
|
|
ENV HOME /home/container
|
2021-07-15 09:01:19 +02:00
|
|
|
ENV VCMP_VERSION v30
|
|
|
|
ENV VCMP_PLUGIN_PATCH patch2
|
2017-05-01 22:38:13 +02:00
|
|
|
|
2017-05-03 12:24:23 +02:00
|
|
|
WORKDIR /home/container
|
2017-05-01 22:38:13 +02:00
|
|
|
|
2017-05-03 12:24:23 +02:00
|
|
|
COPY ./start.sh /start.sh
|
2017-05-01 22:38:13 +02:00
|
|
|
|
2017-05-03 12:24:23 +02:00
|
|
|
CMD ["/bin/bash", "/start.sh"]
|