github.com/sl1pm4t/consul@v1.4.5-0.20190325224627-74c31c540f9c/build-support/docker/Consul-Dev.dockerfile (about) 1 ARG CONSUL_BUILD_IMAGE 2 FROM ${CONSUL_BUILD_IMAGE}:latest as builder 3 # FROM golang:latest as builder 4 ARG GIT_COMMIT 5 ARG GIT_DIRTY 6 ARG GIT_DESCRIBE 7 # WORKDIR /go/src/github.com/hashicorp/consul 8 ENV CONSUL_DEV=1 9 ENV COLORIZE=0 10 Add . /go/src/github.com/hashicorp/consul/ 11 RUN make dev 12 13 14 FROM consul:latest 15 16 COPY --from=builder /go/src/github.com/hashicorp/consul/bin/consul /bin