This is an automated email from the ASF dual-hosted git repository.
dengliming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new 60b8f212 Configuring gitpod with java (#523)
60b8f212 is described below
commit 60b8f212f17e5741effdec913a693b4ef0eea61a
Author: Kerwin Bryant <[email protected]>
AuthorDate: Sun Mar 16 16:11:42 2025 +0800
Configuring gitpod with java (#523)
---
.gitpod.Dockerfile | 7 +++++++
.gitpod.yml | 5 +++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile
new file mode 100644
index 00000000..3c1edd3c
--- /dev/null
+++ b/.gitpod.Dockerfile
@@ -0,0 +1,7 @@
+FROM gitpod/workspace-full
+
+USER gitpod
+
+RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && \
+ sdk install java 17.0.3-ms && \
+ sdk default java 17.0.3-ms"
diff --git a/.gitpod.yml b/.gitpod.yml
index 4ec83599..43f2246a 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -1,3 +1,6 @@
+image:
+ file: .gitpod.Dockerfile
+
additionalRepositories:
- url: https://github.com/apache/shenyu.git
checkoutLocation: backend
@@ -19,8 +22,6 @@ tasks:
- name: Setup backend
before: cd ../backend
init: |
- sdk install java 17.0.11.fx-zulu < /dev/null
- sdk default java 17.0.11.fx-zulu < /dev/null
mvn clean install -DskipTests
command: |
gp sync-done setup-backend