Skip to content

Commit 0b9d9af

Browse files
authored
Ensure the JDK is defaulted in shell.
1 parent 8a626ae commit 0b9d9af

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitpod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ USER gitpod
66

77
SHELL ["/bin/bash", "-c"]
88

9-
RUN source ~/.sdkman/bin/sdkman-init.sh && sdk install java 17.0.10-tem
9+
RUN source ~/.sdkman/bin/sdkman-init.sh && sdk install java 17.0.10-tem && sdk use java 17.0.10-tem

jitpack.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
before_install:
44
- curl -s "https://get.sdkman.io" | bash
55
- source ~/.sdkman/bin/sdkman-init.sh
6-
- sdk install java 17.0.10-tem
6+
- sdk install java 17.0.10-tem
7+
- sdk use java 17.0.10-tem

0 commit comments

Comments
 (0)