File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-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 openjdk-8-jdk-headless openjdk-17-jdk-headless \
14+ openjdk-21-jdk-headless nano vim-tiny zile && \
15+ (curl -fsSL https://deb.nodesource.com/setup_18.x | bash -) && \
16+ apt-get install -y nodejs
17+
18+
19+ # Install sbt
20+ ENV SBT_HOME /usr/local/sbt
21+ ENV PATH ${SBT_HOME}/bin:${PATH}
22+ ENV SBT_VERSION 1.9.0
23+ 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