Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Commit

Permalink
[docs] Add Bash to 'Languages & Frameworks' section
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hellum authored and jankeromnes committed Jan 7, 2020
1 parent 740d88a commit ebefd5d
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/docs/bash_in_gitpod.md
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
1 change: 1 addition & 0 deletions src/docs/languages_and_frameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ Below is a list of language and framework specific tips & tricks.

* [Java](/docs/java_in_gitpod/)
* [Python](/docs/python_in_gitpod/)
* [Bash](/docs/bash_in_gitpod/)
4 changes: 4 additions & 0 deletions src/docs/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ export const MENU: MenuEntry[] = [
M(
"Julia",
"julia_in_gitpod"
),
M(
"Bash",
"bash_in_gitpod"
)
]
),
Expand Down

0 comments on commit ebefd5d

Please sign in to comment.