mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-25 00:51:24 +01:00
dcf4e2ee78
vmware -> goharbor Signed-off-by: Daniel Jiang <jiangd@vmware.com>
13 lines
305 B
Docker
13 lines
305 B
Docker
FROM golang:1.9.2
|
|
|
|
MAINTAINER wangyan@vmware.com
|
|
|
|
COPY . /go/src/github.com/goharbor/harbor
|
|
|
|
WORKDIR /go/src/github.com/goharbor/harbor/src/registryctl
|
|
|
|
RUN go build -a -o /go/bin/harbor_registryctl \
|
|
&& chmod u+x /go/bin/harbor_registryctl
|
|
WORKDIR /go/bin/
|
|
ENTRYPOINT ["/go/bin/harbor_registryctl"]
|