Skip to content

Commit

Permalink
Gitpod - fix pnpm version error (#4120)
Browse files Browse the repository at this point in the history
* use Gitpod's node-LTS base image

* update gitpod command waiting for port

* export variables for pnpm

* install pnpm using recommended method

* fix prebuild's shell problem

* fix Gitpod ports await command syntax
  • Loading branch information
shaal authored Aug 2, 2022
1 parent ba801b9 commit 7088e86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM gitpod/workspace-node

# Install latest pnpm
RUN pnpm i -g pnpm
RUN curl -fsSL https://get.pnpm.io/install.sh | SHELL=`which bash` bash -

# Install deno in gitpod
RUN curl -fsSL https://deno.land/x/install/install.sh | sh
Expand Down
2 changes: 1 addition & 1 deletion .gitpod/gitpod-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ else
fi

# Wait for VSCode to be ready (port 23000)
gp await-port 23000 > /dev/null 2>&1
gp ports await 23000 > /dev/null 2>&1

echo "Loading example project:" $EXAMPLE_PROJECT

Expand Down

0 comments on commit 7088e86

Please sign in to comment.