Skip to content

Commit

Permalink
fix: use yarn to install expo cli globally
Browse files Browse the repository at this point in the history
This is related to NPM failing for both iltorb and sharp dependencies. Let's work around this by using Yarn for now.

expo/expo-cli#591
  • Loading branch information
byCedric committed May 8, 2019
1 parent aff8989 commit 9fd3635
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ LABEL repository="https://github.com/expo/expo-github-action"
LABEL homepage="https://github.com/expo/expo-github-action/blob/master/base"
LABEL maintainer="Cedric van Putten <[email protected]>"

RUN npm install --global expo-cli@2 \
&& npm cache rm --force \
&& rm -rf ~/.npm
RUN yarn global add expo-cli@2 \
&& yarn cache clean

COPY entrypoint.sh LICENSE.md README.md /

Expand Down

0 comments on commit 9fd3635

Please sign in to comment.