harbor/make/dev/adminserver/Dockerfile

13 lines
298 B
Docker
Raw Normal View History

FROM golang:1.9.2
2016-12-30 11:04:01 +01:00
MAINTAINER yinw@vmware.com
COPY . /go/src/github.com/vmware/harbor
WORKDIR /go/src/github.com/vmware/harbor/src/adminserver
RUN go build -a -o /go/bin/harbor_adminserver \
2016-12-30 11:04:01 +01:00
&& chmod u+x /go/bin/harbor_adminserver
WORKDIR /go/bin/
ENTRYPOINT ["/go/bin/harbor_adminserver"]