We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b97764d commit fef79c4Copy full SHA for fef79c4
.gitpod/Dockerfile
@@ -1,6 +1,10 @@
1
-FROM gitpod/workspace-full
2
-
+FROM gitpod/workspace-full:latest
+ARG JAVA_VERSION=21.0.6-tem
3
ARG MAVEN_VERSION=3.9.9
4
5
-RUN brew install gh && \
6
- bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && sdk install maven ${MAVEN_VERSION} && sdk default maven ${MAVEN_VERSION}"
+# Install Java 21, Maven and GitHub CLI
+RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && \
+ sdk install java ${JAVA_VERSION} && \
7
+ sdk default java ${JAVA_VERSION} && \
8
+ sdk install maven ${MAVEN_VERSION} && \
9
+ sdk default maven ${MAVEN_VERSION} && \
10
+ brew install gh"
0 commit comments