2019-10-17 16:16:54 +01:00
|
|
|
ARG ALPINE_VERSION=3.9
|
2018-06-08 10:20:54 -04:00
|
|
|
FROM alpine:${ALPINE_VERSION}
|
|
|
|
|
2019-10-17 16:16:54 +01:00
|
|
|
ARG NODEJS_VERSION=10.14.2-r0
|
2019-01-23 12:56:39 -05:00
|
|
|
ARG MAKE_VERSION=4.2.1-r2
|
2019-10-17 16:16:54 +01:00
|
|
|
ARG YARN_VERSION=1.19.1
|
2018-06-08 10:20:54 -04:00
|
|
|
|
|
|
|
RUN apk update && \
|
2019-01-23 12:56:39 -05:00
|
|
|
apk add nodejs=${NODEJS_VERSION} nodejs-npm=${NODEJS_VERSION} make=${MAKE_VERSION} && \
|
2018-06-25 11:27:10 -04:00
|
|
|
npm config set unsafe-perm true && \
|
2018-06-08 10:20:54 -04:00
|
|
|
npm install --global yarn@${YARN_VERSION} && \
|
|
|
|
mkdir /consul-src
|
|
|
|
|
|
|
|
WORKDIR /consul-src
|
2018-06-19 13:51:49 -04:00
|
|
|
CMD make
|