harbor/make/dev/adminserver/Dockerfile
Daniel Jiang dcf4e2ee78 Update import path in go code
vmware -> goharbor

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-08-23 17:50:53 +08:00

15 lines
345 B
Docker

FROM golang:1.9.2
MAINTAINER yinw@vmware.com
COPY . /go/src/github.com/goharbor/harbor
WORKDIR /go/src/github.com/goharbor/harbor/src/adminserver
RUN go build -a -o /go/bin/harbor_adminserver \
&& chmod u+x /go/bin/harbor_adminserver
COPY ./make/migrations /go/bin/migrations
WORKDIR /go/bin/
ENTRYPOINT ["/go/bin/harbor_adminserver"]