Skip to content

Commit

Permalink
Merge pull request #25452 from jeanphibaconnais/gitpod-complete-config
Browse files Browse the repository at this point in the history
Gitpod - add extensions + custom image to get quarkus CLI + contributing.md
  • Loading branch information
gastaldi authored May 11, 2022
2 parents 70a6197 + 8201c4c commit 277df2a
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 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 -Dquickly
- name: Quarkus command
openMode: split-right

vscode:
extensions:
- "redhat.java"
- "vscjava.vscode-java-dependency"
- "vscjava.vscode-java-debug"
- "vscjava.vscode-java-pack"
8 changes: 8 additions & 0 deletions .gitpod/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM gitpod/workspace-java-11

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/* "
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ But first, read this page (including the small print at the end).
* [`OutOfMemoryError` while importing](#-outofmemoryerror--while-importing)
* [`package sun.misc does not exist` while building](#-package-sunmisc-does-not-exist--while-building)
* [Formatting](#formatting)
+ [Gitpod](#gitpod)
* [Build](#build)
+ [Workflow tips](#workflow-tips)
- [Building all modules of an extension](#building-all-modules-of-an-extension)
Expand Down Expand Up @@ -288,6 +289,11 @@ navigate to _Editor_ -> _Code Style_ -> _Java_ -> _Imports_
and set _Class count to use import with '\*'_ to `999`.
Do the same with _Names count to use static import with '\*'_.

### Gitpod

You can also use [Gitpod](https://gitpod.io) to contribute without installing anything on your computer. Click [here](https://gitpod.io/#https://github.com/quarkusio/quarkus/-/tree/main/) to start a workspace.


## Build

* Clone the repository: `git clone https://github.com/quarkusio/quarkus.git`
Expand Down

0 comments on commit 277df2a

Please sign in to comment.