⬆️ Update Gitpod configuration with Java 17

This commit is contained in:
jeanphi.baconnais 2023-10-24 13:06:48 +00:00 committed by Guillaume Smet
parent 2e7b474e4e
commit faa6084c1c
2 changed files with 3 additions and 6 deletions

View File

@ -1,6 +1,3 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.
image:
file: .gitpod/Dockerfile

View File

@ -1,8 +1,8 @@
FROM gitpod/workspace-java-11
FROM gitpod/workspace-java-17
RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && \
sdk install java 11.0.9.j9-adpt && \
sdk use java 11.0.9.j9-adpt && \
sdk install java 17.0.9-tem && \
sdk use java 17.0.9-tem && \
yes | sdk install quarkus && \
rm -rf $HOME/.sdkman/archives/* && \
rm -rf $HOME/.sdkman/tmp/* "