2020-02-10 14:29:13 +00:00
|
|
|
ARG ALPINE_VERSION=3.11
|
2018-06-08 14:20:54 +00:00
|
|
|
FROM alpine:${ALPINE_VERSION}
|
|
|
|
|
2021-07-15 17:22:53 +00:00
|
|
|
ARG NODEJS_VERSION=12.22.1-r0
|
2019-01-23 17:56:39 +00:00
|
|
|
ARG MAKE_VERSION=4.2.1-r2
|
2020-10-21 14:23:16 +00:00
|
|
|
ARG YARN_VERSION=1.22.5
|
2018-06-08 14:20:54 +00:00
|
|
|
|
|
|
|
RUN apk update && \
|
2019-01-23 17:56:39 +00:00
|
|
|
apk add nodejs=${NODEJS_VERSION} nodejs-npm=${NODEJS_VERSION} make=${MAKE_VERSION} && \
|
2018-06-25 15:27:10 +00:00
|
|
|
npm config set unsafe-perm true && \
|
2018-06-08 14:20:54 +00:00
|
|
|
npm install --global yarn@${YARN_VERSION} && \
|
|
|
|
mkdir /consul-src
|
|
|
|
|
|
|
|
WORKDIR /consul-src
|
2020-10-21 14:23:16 +00:00
|
|
|
CMD make dist-docker
|