Install Meteor

This commit is contained in:
Byran 2021-12-30 16:00:18 +08:00
parent 5d1924d441
commit 9fcb5936fb
2 changed files with 6 additions and 4 deletions

9
.gitpod.Dockerfile vendored
View File

@ -18,9 +18,9 @@ ENV NODE_VERSION=12.22.7
ENV TRIGGER_REBUILD=1 ENV TRIGGER_REBUILD=1
RUN curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | PROFILE=/dev/null bash \ RUN curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | PROFILE=/dev/null bash \
&& bash -c ". .nvm/nvm.sh \ && bash -c ". .nvm/nvm.sh \
&& nvm install $NODE_VERSION \ && nvm install $NODE_VERSION \
&& nvm alias default $NODE_VERSION \ && nvm alias default $NODE_VERSION \
&& npm install -g typescript yarn node-gyp" && npm install -g typescript yarn node-gyp"
ENV PATH=$PATH:/home/gitpod/.nvm/versions/node/v${NODE_VERSION}/bin ENV PATH=$PATH:/home/gitpod/.nvm/versions/node/v${NODE_VERSION}/bin
# Install Redis # 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 rm -f redis-6.2.6.tar.gz
ENV PATH=$PATH:/home/gitpod/redis-6.2.6/src 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 USER gitpod

View File

@ -18,7 +18,6 @@ tasks:
- command: | - command: |
redis-server --save "" redis-server --save ""
- init: | - init: |
curl https://install.meteor.com/?release=1.9.3 | sh
yarn yarn
yarn bootstrap yarn bootstrap
yarn build yarn build