8284912475
* ui: Upgrade tooling to node 10 now we are on a more recent ember * build: Also update the conatiner for building the UI We bump alpine here as 3.8 doesn't have node 10 by default whereas 3.9 does. Yarn is bumped to latest current version while we are here.
16 lines
391 B
Docker
16 lines
391 B
Docker
ARG ALPINE_VERSION=3.9
|
|
FROM alpine:${ALPINE_VERSION}
|
|
|
|
ARG NODEJS_VERSION=10.14.2-r0
|
|
ARG MAKE_VERSION=4.2.1-r2
|
|
ARG YARN_VERSION=1.19.1
|
|
|
|
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
|