Skip to content

Commit

Permalink
fixes for gitpod
Browse files Browse the repository at this point in the history
  • Loading branch information
jflamy committed Jul 28, 2022
1 parent 01347c8 commit 5ff5304
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM gitpod/workspace-full

#RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && sdk install java 11.0.9-trava"
#RUN echo "JAVA_HOME=/home/gitpod/.sdkman/candidates/java/current" > ~/.mavenrc
#ENV JAVA_HOME=/home/gitpod/.sdkman/candidates/java/11.0.9-trava
RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && sdk install java 17.0.3-tem"
RUN echo "JAVA_HOME=/home/gitpod/.sdkman/candidates/java/current" > ~/.mavenrc
ENV JAVA_HOME=/home/gitpod/.sdkman/candidates/java/current/bin/java

USER gitpod

Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"java.configuration.updateBuildConfiguration": "automatic",
"java.jdt.ls.home": "/home/gitpod/.sdkman/candidates/java/current",
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
Expand Down

0 comments on commit 5ff5304

Please sign in to comment.