github.com/zhouyu0/docker-note@v0.0.0-20190722021225-b8d3825084db/hack/integration-cli-on-swarm/agent/Dockerfile (about)

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