File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM ubuntu:22.04
2
+
3
+ # The default locale is "POSIX" which is just ASCII.
4
+ ENV LANG C.UTF-8
5
+ ENV DEBIAN_FRONTEND noninteractive
6
+ ENV TZ Europe/Zurich
7
+
8
+ # Add packages to image, set default JDK version
9
+ RUN apt-get update && \
10
+ apt-get upgrade -y && \
11
+ # Use a PPA to get Java 17
12
+ apt-get install -y software-properties-common && add-apt-repository ppa:openjdk-r/ppa && \
13
+ apt-get install -y bash curl git ssh htop nano vim-tiny zile \
14
+ openjdk-8-jdk-headless \
15
+ openjdk-17-jdk-headless \
16
+ openjdk-21-jdk-headless && \
17
+ (curl -fsSL https://deb.nodesource.com/setup_18.x | bash -) && \
18
+ apt-get install -y nodejs
19
+
20
+
21
+ # Install sbt
22
+ ENV SBT_HOME /usr/local/sbt
23
+ ENV PATH ${SBT_HOME}/bin:${PATH}
24
+ ENV SBT_VERSION 1.9.0
25
+ RUN curl -sL "https://github.com/sbt/sbt/releases/download/v$SBT_VERSION/sbt-$SBT_VERSION.tgz" | gunzip | tar -x -C /usr/local
You can’t perform that action at this time.
0 commit comments