-
Notifications
You must be signed in to change notification settings - Fork 0
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
Arashfa0301
authored and
Arashfa0301
committed
Sep 15, 2022
1 parent
cd6e72a
commit 4ecb60d
Showing
2 changed files
with
21 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,11 @@ | ||
FROM gitpod/workspace-full-vnc | ||
|
||
USER root | ||
|
||
RUN sudo apt-get update && sudo apt-get install -y matchbox && sudo apt-get clean && sudo rm -rf /var/cache/apt/* && sudo rm -rf /var/lib/apt/lists/* && sudo rm -rf /tmp/* | ||
|
||
USER gitpod | ||
|
||
RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh \ | ||
&& sdk install java 16.0.1.hs-adpt \ | ||
&& sdk default java 16.0.1.hs-adpt" |
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,10 @@ | ||
image: | ||
file: .gitpod.Dockerfile | ||
|
||
tasks: | ||
- init: sdk use java 16.0.1.hs-adpt | ||
command: cd javafx-template; mvn compile | ||
|
||
ports: | ||
# used by virtual desktop and vnc, supports JavaFX | ||
- port: 6080 |