Skip to content

Commit

Permalink
Add Gitpod support
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrbradley committed Nov 4, 2021
1 parent 0aa1454 commit b06cac4
Show file tree
Hide file tree
Showing 2 changed files with 26 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 @@
image:
file: .gitpod/Dockerfile
tasks:
- name: Start Docker Daemon
command: sudo docker-up &
- command: "echo 'export PIP_USER=no' >> ~/.bashrc && export PIP_USER=no"
name: Use Pulumi
ports:
- port: 3000
onOpen: ignore
vscode:
extensions:
- [email protected]:5ctthQ25Qni5/aAuOIUTYQ==
- [email protected]:NOHaOm1IToFrG4fit4+hUw==
- [email protected]:Q+4h8/d9eu9kME/nNfIDlg==
- [email protected]:2U+QLvBKB2yBSqNexOeyJg==
- golang.go
9 changes: 9 additions & 0 deletions .gitpod/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM gitpod/workspace-full:latest

RUN curl -fsSL https://get.pulumi.com | sh -s -- --version 3.16.0 && \
sudo -H /usr/bin/pip3 install pulumi_docker pylint black

RUN sed -i 's/export PIP_USER=yes/export PIP_USER=no/g' /home/gitpod/.bashrc

ENV PATH="${PATH}:/home/gitpod/.pulumi/bin"
ENV PIP_USER=no

0 comments on commit b06cac4

Please sign in to comment.