Skip to content

Commit

Permalink
Merge pull request #8 from evanread/fix-yarn-support
Browse files Browse the repository at this point in the history
Stop confusing yarn with explicit registry setting.
  • Loading branch information
brendo authored Mar 6, 2017
2 parents 06a907b + 6242083 commit 6557b4f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ RUN apk update --no-cache && apk --no-cache add \
pymdown-extensions \
python-markdown-math \
# Set registry, authentication token can be set at runtime.
&& npm set registry "http://registry.npmjs.org" \
&& npm install -g markdownlint-cli write-good yarn markdown-spellcheck && npm cache clean
&& npm install -g \
markdownlint-cli \
write-good \
yarn \
markdown-spellcheck \
&& npm cache clean

0 comments on commit 6557b4f

Please sign in to comment.