Skip to content

Commit 6557b4f

Browse files
authored
Merge pull request #8 from evanread/fix-yarn-support
Stop confusing yarn with explicit registry setting.
2 parents 06a907b + 6242083 commit 6557b4f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,9 @@ RUN apk update --no-cache && apk --no-cache add \
2424
pymdown-extensions \
2525
python-markdown-math \
2626
# Set registry, authentication token can be set at runtime.
27-
&& npm set registry "http://registry.npmjs.org" \
28-
&& npm install -g markdownlint-cli write-good yarn markdown-spellcheck && npm cache clean
27+
&& npm install -g \
28+
markdownlint-cli \
29+
write-good \
30+
yarn \
31+
markdown-spellcheck \
32+
&& npm cache clean

0 commit comments

Comments
 (0)