Skip to content

Commit

Permalink
add docker for jdk17
Browse files Browse the repository at this point in the history
  • Loading branch information
melaasar committed Apr 7, 2024
1 parent f1741c6 commit fc0c87e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM gitpod/workspace-full:2024-04-03-08-50-41

SHELL ["/bin/bash", "-c"]
RUN source "/home/gitpod/.sdkman/bin/sdkman-init.sh" \
&& sdk install java 17.0.4.1-tem < /dev/null
3 changes: 3 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart

image:
file: .gitpod.Dockerfile

tasks:
- init: sdk install java 17
- init: ./gradlew build
Expand Down

0 comments on commit fc0c87e

Please sign in to comment.