Skip to content

Commit

Permalink
Automatically answer the install question and install all java packag…
Browse files Browse the repository at this point in the history
…e in the same command to speed up a bit
  • Loading branch information
tmortagne committed Nov 6, 2024
1 parent 945116d commit e6eb0cf
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,8 @@ RUN wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt
RUN echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list
RUN apt update

# Install Java 8
RUN apt install temurin-8-jdk

# Install Java 11
RUN apt install temurin-11-jdk

# Install Java 17
RUN apt install temurin-17-jdk
# Install Java 8, 11 and 17
RUN apt install -y temurin-8-jdk temurin-11-jdk temurin-17-jdk

# Copy VNC config files
COPY vnc/.Xauthority .Xauthority
Expand Down

0 comments on commit e6eb0cf

Please sign in to comment.