-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b54b2eb
commit de01839
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.9-tem && \ | ||
sdk default java 17.0.9-tem" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This configuration file was automatically generated by Gitpod. | ||
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file) | ||
# and commit this file to your remote git repository to share the goodness with others. | ||
|
||
image: | ||
file: .gitpod.Dockerfile | ||
|
||
tasks: | ||
- init: mvn package -DskipTests=false | ||
|
||
vscode: | ||
extensions: | ||
- redhat.java | ||
- vscjava.vscode-java-debug | ||
- vscjava.vscode-maven | ||
|
||
# Ports to expose on workspace startup | ||
ports: | ||
- port: 8080 | ||
onOpen: open-preview | ||
name: Calculator API | ||
description: Calculator API init | ||
visibility: private | ||
protocol: http |