reg/vendor/github.com/docker/docker-ce/components/engine/hack/integration-cli-on-swarm/agent/Dockerfile

7 lines
339 B
Docker
Raw Normal View History

# this Dockerfile is solely used for the master image.
# Please refer to the top-level Makefile for the worker image.
FROM golang:1.7
ADD . /go/src/github.com/docker/docker/hack/integration-cli-on-swarm/agent
RUN go build -buildmode=pie -o /master github.com/docker/docker/hack/integration-cli-on-swarm/agent/master
ENTRYPOINT ["/master"]