mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 18:55:18 +01:00
13 lines
301 B
Docker
13 lines
301 B
Docker
FROM golang:1.7.3
|
|
|
|
MAINTAINER yinw@vmware.com
|
|
|
|
COPY . /go/src/github.com/vmware/harbor
|
|
|
|
WORKDIR /go/src/github.com/vmware/harbor/src/adminserver
|
|
|
|
RUN go build -v -a -o /go/bin/harbor_adminserver \
|
|
&& chmod u+x /go/bin/harbor_adminserver
|
|
WORKDIR /go/bin/
|
|
ENTRYPOINT ["/go/bin/harbor_adminserver"]
|