This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Add Bash to 'Languages & Frameworks' section
- Loading branch information
1 parent
740d88a
commit ebefd5d
Showing
3 changed files
with
41 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,36 @@ | ||
# Bash | ||
Bash is pre-installed as the default shell in the main Gitpod workspace-image, however, there isn't much support for shell scripting out-of-the-box. | ||
|
||
## Workspace Config | ||
|
||
### VSCode Extensions | ||
|
||
#### Linting | ||
|
||
##### ShellCheck | ||
|
||
To use ShellCheck in Gitpod, first, we must install it. Here is a Dockerfile to get you started. | ||
```dockerfile | ||
FROM gitpod/workspace-full | ||
|
||
USER gitpod | ||
|
||
RUN sudo apt-get -q update && \ | ||
sudo apt-get install -yq shellcheck && \ | ||
sudo rm -rf /var/lib/apt/lists/* | ||
``` | ||
Here is a .gitpod.yml with the shellcheck VSCode Extension already installed. | ||
```yaml | ||
image: | ||
file: .gitpod.Dockerfile | ||
|
||
vscode: | ||
extensions: | ||
- [email protected]:hsU/Rd39aqPYowTqL+DbXg== | ||
``` | ||
Not sure about ShellCheck? Try it in Gitpod! | ||
[![JesterOrNot/Gitpod-ShellCheck](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/JesterOrNot/Gitpod-ShellCheck) | ||
## External Resources | ||
* For more on ShellCheck see https://shellcheck.net |
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