open-consul/build-support/docker/Build-UI.dockerfile
Matt Keeler 39f0687326
Update to Go 1.11.4 and UI build container (#5257)
* Update to Go 1.11.4

* Update to Go 1.11.4 for travis

* Update UI build to fix ember issues.
2019-01-23 12:56:39 -05:00

16 lines
388 B
Docker

ARG ALPINE_VERSION=3.8
FROM alpine:${ALPINE_VERSION}
ARG NODEJS_VERSION=8.14.0-r0
ARG MAKE_VERSION=4.2.1-r2
ARG YARN_VERSION=1.13
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