Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Gitpod #866

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This image should be the last one to be used inside an workspace container. In this cause, we use an varation of
# the official Gitpod workspace image as the final image.
# Source Dockerfile: https://gitlab.com/gitpodify/gitpodified-workspace-images/-/blob/recaptime-dev-mainline/full/Dockerfile
FROM quay.io/gitpodified-workspace-images/full

COPY requirements.dev.txt /tmp/deps-dev.txt

RUN pip3 install -r /tmp/dev-deps.txt \
&& rm /tmp/deps-dev.txt; \
brew install shellcheck hadolint shfmt
15 changes: 15 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
image:
file: .gitpod.Dockerfile
tasks:
# pull image for caches
- init: docker pull megalinter/megalinter:latest
vscode:
extensions:
- ms-python.python
- stylelint.vscode-stylelint
- foxundermoon.shell-format
- matangover.mypy
- streetsidesoftware.code-spell-checker
- esbenp.prettier-vscode
- exiasr.hadolint
- timonwong.shellcheck