mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-06 16:08:29 +01:00
dcf4e2ee78
vmware -> goharbor Signed-off-by: Daniel Jiang <jiangd@vmware.com>
15 lines
345 B
Docker
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"]
|