I wished to show some colleagues Gitpod running a git repo which I’m familiar with, to demo what an “ephemeral development environment” looks like in the year 2021
… Except that my chosen repo has a minimum spec of Java
“Well this doesn’t sound too hard”, I think…
Except I’ve been banging my head for hours now… Still unsolved issues:
" To do that you need to alter the generated
I cannot find this generated file. AFAICT,
gp init only created 1 file,
I found, for example, this works fine from within the GitPod terminal:
sdk install java 16.0.2.fx-zulu
javac --version reports JDK 16 as expected.
So I placed that version into a file
.gitpod.Dockerfile which I created per the documentation link above. I git-pushed these 2x files and spun up a fresh GitPod instance pointing to my repo. That now spits out some
echo 'init script' messages, but it is back on JDK-11.
In a fresh workspace, the simple
./gradlew run command that I hoped to see working does not. Can anyone suggest what I have done wrong?