Skip to content

Switch install script to use npm #2

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
17 changes: 11 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ RUN apt-get update && apt-get install -y gconf-service libasound2 libatk1.0-0 li
libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 \
libnss3 lsb-release xdg-utils wget jq && apt-get autoremove -y

RUN yarn config set cache-folder ./.yarn-cache && \
yarn global add @angular/cli && \
yarn global add gulp && \
yarn global add puppeteer && \
yarn global add @sentry/cli && \
yarn install
RUN mkdir ~/.npm-global && \
npm config set prefix '~/.npm-global' && \
export PATH=~/.npm-global/bin:$PATH

RUN npm config set cache -g ./.npm-cache && \
npm config set script-prepend-node-path true && \
npm -g install @angular/cli && \
npm -g install gulp && \
npm install puppeteer && \
npm -g install @sentry/cli && \
npm install