From bc912192af2a418616bed7a0f24bf1e1d3786226 Mon Sep 17 00:00:00 2001 From: "R.B. Boyer" <4903+rboyer@users.noreply.github.com> Date: Wed, 20 Oct 2021 14:59:33 -0500 Subject: [PATCH] build: fix ui make target to use the same frontend stack as the regular release (#11368) --- build-support/docker/Build-UI.dockerfile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/build-support/docker/Build-UI.dockerfile b/build-support/docker/Build-UI.dockerfile index b307d10923..c89c3c1ec9 100644 --- a/build-support/docker/Build-UI.dockerfile +++ b/build-support/docker/Build-UI.dockerfile @@ -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