Skip to content

Commit

Permalink
⬆️ Update Gitpod configuration with Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanphi-baconnais authored and gsmet committed Oct 24, 2023
1 parent 2e7b474 commit faa6084
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
6 changes: 3 additions & 3 deletions .gitpod/Dockerfile
Original file line number Diff line number Diff line change
@@ -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/* "

0 comments on commit faa6084

Please sign in to comment.