-
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 - review - add changes on Dockerfile and quarkus command
- Loading branch information
1 parent
8cc9a53
commit fd71e2d
Showing
3 changed files
with
8 additions
and
19 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
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 |
---|---|---|
@@ -1,20 +1,8 @@ | ||
FROM gitpod/workspace-full | ||
USER gitpod | ||
FROM gitpod/workspace-java-11 | ||
|
||
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 && \ | ||
RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && \ | ||
sdk install java 11.0.9.j9-adpt && \ | ||
sdk use java 11.0.9.j9-adpt && \ | ||
yes | sdk install quarkus && \ | ||
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