- Configure Your Project
- Docker Configuration
- Start Tasks
- VS Code Extensions
- Exposing Ports
- Prebuilt Workspaces
- Environment Variables
- Workspace Location
- Editor Configuration
- Gitpod Self-Hosted
- Install on Google Cloud Platform
- Install on Amazon Web Services
- Install on self-managed Kubernetes
- Configure Ingress
- Configure OAuth
- Configure a Database
- Configure a Docker Registry
- Configure Storage
- Configure Nodes
- Configure Workspaces
- Languages & Frameworks
Bash is the default shell for Gitpod. However, if you’re developing a Bash script yourself, you may want to configure additional language support.
Here are a few Bash example projects that are already automated with Gitpod:
|inlets/inlets||Reverse proxy and service tunnel|
ShellCheck provides linting for common mistakes in your shell script.
To use ShellCheck in Gitpod, first, we must install the
shellcheck tool. Here is a simple Dockerfile to get you started:
FROM gitpod/workspace-full USER gitpod RUN brew install shellcheck
You should also install the shellcheck VS Code extension in Gitpod, by adding a .gitpod.yml configuration file to your repository that looks like this (notice the
vscode extensions section):
image: file: .gitpod.Dockerfile vscode: extensions: - firstname.lastname@example.org:hsU/Rd39aqPYowTqL+DbXg==
Not sure about ShellCheck? Try it in Gitpod!
Just to name a few things Bash IDE adds: Code completion, hovers, and diagnostic reporting.
To install Bash IDE to your repository add the following to your .gitpod.Dockerfile
RUN npm i -g bash-language-server
Also the following in your .gitpod.yml
vscode: extensions: - email@example.com:/qx+rdXE/fGTGWhelNf3aQ==
Not sure about Bash IDE? Try it in Gitpod
- For more information about ShellCheck please see shellcheck.net
It has been reported that shellcheck extension fails to detect shellcheck from homebrew which results in:
To resolve this you need to set
"shellcheck.executablePath": "/home/linuxbrew/.linuxbrew/bin/shellcheck", (or to path that point to shellcheck on your system), See https://github.com/vivek-verma202/GWAS_FM/pull/3/files
Still Have Questions?
Please reach out. We’re happy to answer them.