build: fix ui make target to use the same frontend stack as the regular release (#11368)

This commit is contained in:
R.B. Boyer 2021-10-20 14:59:33 -05:00 committed by GitHub
parent 55659f3c9d
commit bc912192af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 11 deletions

View File

@ -1,15 +1,7 @@
ARG ALPINE_VERSION=3.13
FROM alpine:${ALPINE_VERSION}
FROM docker.mirror.hashicorp.services/circleci/node:14-browsers
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
USER root
RUN mkdir /consul-src
WORKDIR /consul-src
CMD make dist-docker