mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
48910f7583
Automated putting the source tree into release mode.
14 lines
297 B
Docker
14 lines
297 B
Docker
FROM golang:latest as builder
|
|
ARG GIT_COMMIT
|
|
ARG GIT_DIRTY
|
|
ARG GIT_DESCRIBE
|
|
WORKDIR /go/src/github.com/hashicorp/consul
|
|
ENV CONSUL_DEV=1
|
|
ENV COLORIZE=0
|
|
Add . /go/src/github.com/hashicorp/consul/
|
|
RUN make
|
|
|
|
FROM consul:latest
|
|
|
|
COPY --from=builder /go/src/github.com/hashicorp/consul/bin/consul /bin
|