-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gitpod - add extensions + custom image to get quarkus CLI + contribut…
…ing.md
- Loading branch information
1 parent
53e28d1
commit 8cc9a53
Showing
3 changed files
with
42 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,16 @@ | ||
# 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: ./mvnw install -DskipTests=false | ||
- name: Quarkus command | ||
openMode: split-right | ||
|
||
vscode: | ||
extensions: | ||
- "redhat.java" | ||
- "vscjava.vscode-java-dependency" | ||
- "vscjava.vscode-java-debug" |
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,20 @@ | ||
FROM gitpod/workspace-full | ||
USER gitpod | ||
|
||
ARG JAVA_VERSION="11.0.9.j9-adpt" | ||
|
||
# install sdkman | ||
RUN curl -s "https://get.sdkman.io" | bash | ||
|
||
RUN bash -c "source $HOME/.sdkman/bin/sdkman-init.sh && \ | ||
yes | sdk install jbang && \ | ||
rm -rf $HOME/.sdkman/archives/* && \ | ||
rm -rf $HOME/.sdkman/tmp/* " | ||
|
||
# install jbang | ||
RUN bash -c '$HOME/.sdkman/candidates/jbang/current/bin/jbang --version' | ||
|
||
RUN bash -c '$HOME/.sdkman/candidates/jbang/current/bin/jbang trust add https://repo1.maven.org/maven2/io/quarkus/quarkus-cli/' | ||
|
||
# install quarkus cli | ||
RUN bash -c '$HOME/.sdkman/candidates/jbang/current/bin/jbang app install --fresh --force quarkus@quarkusio' |
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