diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 0000000..a8707e2 --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,5 @@ +FROM gitpod/workspace-full + +RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh \ + && sdk install java 21.3.0.r17-grl \ + && sdk use java 21.3.0.r17-grl" \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..daffe48 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,18 @@ +image: + file: .gitpod.Dockerfile + +tasks: + - init: ./mvnw package -DskipTests + command: java -jar target/*.jar + +# exposed ports +ports: + - port: 8080 + onOpen: open-preview + +vscode: + extensions: + - redhat.java + - vscjava.vscode-java-debug + - vscjava.vscode-java-test + - pivotal.vscode-spring-boot \ No newline at end of file