mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 06:11:03 -04:00
6 lines
339 B
Docker
6 lines
339 B
Docker
# 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"]
|