This repository has been archived by the owner on Jun 14, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
75 lines (58 loc) · 2.48 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
FROM python:3.9-slim
MAINTAINER AI Arena <staff@aiarena.net>
USER root
WORKDIR /root/
RUN dpkg --add-architecture i386
# Update system
RUN apt-get update && apt-get upgrade --assume-yes --quiet=2
RUN apt-get install --assume-yes --no-install-recommends --no-show-upgraded \
wget \
unzip
# Download and uncompress StarCraftII from https://github.com/Blizzard/s2client-proto#linux-packages and remove zip file
RUN wget -q 'http://blzdistsc2-a.akamaihd.net/Linux/SC2.4.10.zip' \
&& unzip -P iagreetotheeula SC2.4.10.zip \
&& rm SC2.4.10.zip
# Install common software via APT
RUN apt-get install --assume-yes --no-install-recommends --no-show-upgraded \
git \
make \
gcc \
tree \
gpg \
python-dev \
procps \
lsof \
apt-transport-https \
libgtk2.0-dev \
software-properties-common \
dirmngr \
gpg-agent \
g++
# Add the microsoft repo for dotnetcore prior to NET 5.0
RUN wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg && \
mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/ && \
wget -q https://packages.microsoft.com/config/debian/9/prod.list && \
mv prod.list /etc/apt/sources.list.d/microsoft-prod.list && \
chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg && \
chown root:root /etc/apt/sources.list.d/microsoft-prod.list
# Add NET 5.0 support
RUN wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && dpkg -i packages-microsoft-prod.deb && apt-get update && apt-get install -y apt-transport-https && apt-get update && apt-get install -y dotnet-sdk-5.0
# Install Zulu Repo for openjdk-12
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
RUN add-apt-repository 'deb http://repos.azulsystems.com/debian stable main'
# Update APT cache
RUN apt-get update
# Needed for Java install
RUN mkdir -p /usr/share/man/man1
# Install nodejs
RUN apt-get install --assume-yes --no-install-recommends --no-show-upgraded npm
# Install software via APT
RUN apt-get install --assume-yes --no-install-recommends --no-show-upgraded \
wine32 \
dotnet-sdk-2.2
# Upgrade pip and install pip-install requirements
RUN python3 -m pip install --upgrade pip pipenv
# Install Zulu for Java 16
RUN wget https://cdn.azul.com/zulu/bin/zulu16.30.15-ca-jre16.0.1-linux_amd64.deb \
&& apt install --assume-yes ./zulu16.30.15-ca-jre16.0.1-linux_amd64.deb \
&& rm ./zulu16.30.15-ca-jre16.0.1-linux_amd64.deb