diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-07-18 22:21:30 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-07-18 15:21:30 +0200 |
commit | c0c7af2194cffcddbbcab5879f37afca3eb0bcec (patch) | |
tree | d46375facbe4e354885effb3bf4738fe5fc8ef24 /Dockerfile | |
parent | f5382ec08504a06c005e8f40738596c5c5c837de (diff) |
Download npm and yarn from Alpine packages repository (#4242)
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 760999f8c..ef139dcec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ EXPOSE 3000 4000 WORKDIR /mastodon RUN echo "@edge https://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \ + && echo "@edge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \ && apk -U upgrade \ && apk add -t build-dependencies \ build-base \ @@ -38,7 +39,7 @@ RUN echo "@edge https://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/reposit protobuf \ su-exec \ tini \ - && npm install -g npm@3 && npm install -g yarn \ + yarn@edge \ && update-ca-certificates \ && rm -rf /tmp/* /var/cache/apk/* |