Comment re: alpine 3.9 and nodejs/npm

This commit is contained in:
Tony Garnock-Jones 2019-03-21 11:34:32 +00:00
parent 50ee261c0f
commit 69968d6dea
1 changed files with 3 additions and 0 deletions

View File

@ -3,7 +3,10 @@ FROM alpine:3.8
RUN apk update && apk upgrade
RUN apk add s6
# NB: From Alpine 3.9 onwards, the versions of nodejs and npm in the
# standard packageset are fine for Syndicate
RUN apk add --no-cache nodejs npm --repository http://dl-cdn.alpinelinux.org/alpine/edge/main
RUN npm i -g preserves
ENV NODE_PATH=/usr/lib/node_modules