open-consul/build-support/docker/Build-UI.dockerfile

16 lines
403 B
Plaintext
Raw Normal View History

2021-05-18 15:30:19 +00:00
ARG ALPINE_VERSION=3.13
FROM alpine:${ALPINE_VERSION}
2021-05-18 15:30:19 +00:00
ARG NODEJS_VERSION=14.16.1-r1
ARG MAKE_VERSION=4.3-r0
ARG YARN_VERSION=1.22.10
RUN apk update && \
apk add nodejs=${NODEJS_VERSION} nodejs-npm=${NODEJS_VERSION} make=${MAKE_VERSION} && \
npm config set unsafe-perm true && \
npm install --global yarn@${YARN_VERSION} && \
mkdir /consul-src
WORKDIR /consul-src
CMD make dist-docker