From 9fcb5936fb970af5fedb6c0d13c85cecafd4caab Mon Sep 17 00:00:00 2001 From: Byran Date: Thu, 30 Dec 2021 16:00:18 +0800 Subject: [PATCH] Install Meteor --- .gitpod.Dockerfile | 9 ++++++--- .gitpod.yml | 1 - 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 0be8830f57..e1beb937e7 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -18,9 +18,9 @@ ENV NODE_VERSION=12.22.7 ENV TRIGGER_REBUILD=1 RUN curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | PROFILE=/dev/null bash \ && bash -c ". .nvm/nvm.sh \ - && nvm install $NODE_VERSION \ - && nvm alias default $NODE_VERSION \ - && npm install -g typescript yarn node-gyp" + && nvm install $NODE_VERSION \ + && nvm alias default $NODE_VERSION \ + && npm install -g typescript yarn node-gyp" ENV PATH=$PATH:/home/gitpod/.nvm/versions/node/v${NODE_VERSION}/bin # Install Redis @@ -33,4 +33,7 @@ RUN wget https://download.redis.io/releases/redis-6.2.6.tar.gz && \ rm -f redis-6.2.6.tar.gz ENV PATH=$PATH:/home/gitpod/redis-6.2.6/src +# Install Meteor +RUN curl https://install.meteor.com/?release=1.9.3 | sh + USER gitpod \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml index 64e46947e5..b33b3d5786 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -18,7 +18,6 @@ tasks: - command: | redis-server --save "" - init: | - curl https://install.meteor.com/?release=1.9.3 | sh yarn yarn bootstrap yarn build