File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed
Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,28 @@ LABEL maintainer="austrin@kattis.com"
99
1010ENV DEBIAN_FRONTEND=noninteractive
1111
12- # Install C++, Java, Kotlin, and PyPy 3 via their ppa repository
13- RUN apt update && \
14- apt install -y software-properties-common && \
12+ # Install C++, Java, and PyPy 3 via their ppa repository (Kotlin is installed below to get a more up-to-date version)
13+ RUN apt-get update && \
14+ apt-get install -y software-properties-common && \
1515 add-apt-repository ppa:pypy/ppa && \
16- apt update && \
17- apt install -y \
16+ apt-get update && \
17+ apt-get install -y \
1818 gcc g++ \
1919 openjdk-11-jdk openjdk-11-jre \
20- kotlin \
2120 pypy3
2221
22+ RUN apt-get install -y curl
23+
24+ ARG KOTLIN_VERSION=1.8.10
25+ RUN curl "https://github.com/JetBrains/kotlin/releases/download/v$KOTLIN_VERSION/kotlin-compiler-$KOTLIN_VERSION.zip" -L -o kotlin.zip
26+ RUN unzip -q kotlin.zip
27+ RUN rm kotlin.zip
28+
29+ RUN mv kotlinc/bin/* /usr/bin
30+ RUN mv kotlinc/lib/* /usr/lib
31+
32+ RUN rm -r kotlinc
33+
2334# Reconfigure problemtools:
2435# - Use PyPy for Python 2 (not available in this image but in the full one)
2536# - Use PyPy for Python 3
You can’t perform that action at this time.
0 commit comments