mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-06 18:50:09 +01:00
13 lines
299 B
Docker
13 lines
299 B
Docker
FROM golang:1.7.3
|
|
|
|
MAINTAINER jiangd@vmware.com
|
|
|
|
COPY . /go/src/github.com/vmware/harbor
|
|
|
|
WORKDIR /go/src/github.com/vmware/harbor/src/jobservice
|
|
|
|
RUN go build -v -a -o /go/bin/harbor_jobservice \
|
|
&& chmod u+x /go/bin/harbor_jobservice
|
|
WORKDIR /go/bin/
|
|
ENTRYPOINT ["/go/bin/harbor_jobservice"]
|