From 69af1de979aac8e915ece8a17de1025aa02a7dde Mon Sep 17 00:00:00 2001 From: Merith Date: Tue, 4 Jan 2022 14:22:26 -0800 Subject: [PATCH] Update gitpod dockerfile with java 17 default mc 1.18 requires java 17, as does fabric api, best make sure the remote dev env can do its duty --- config/gitpod/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/gitpod/Dockerfile b/config/gitpod/Dockerfile index 8f362483a..d8f2d4ac6 100644 --- a/config/gitpod/Dockerfile +++ b/config/gitpod/Dockerfile @@ -13,7 +13,7 @@ USER gitpod # Install Java 8 and 16 RUN sudo apt-get -q update && \ - sudo apt install -yq openjdk-8-jdk openjdk-16-jdk + sudo apt install -yq openjdk-8-jdk openjdk-16-jdk openjdk-17-jdk # This is so that you can use java 8 until such a time as you switch to java 16 -RUN sudo update-java-alternatives --set java-1.16.0-openjdk-amd64 +RUN sudo update-java-alternatives --set java-1.17.0-openjdk-amd64