harbor/make/dev/jobservice/Dockerfile

13 lines
299 B
Docker
Raw Normal View History

FROM golang:1.7.3
MAINTAINER jiangd@vmware.com
COPY . /go/src/github.com/vmware/harbor
2016-10-19 08:32:00 +02:00
WORKDIR /go/src/github.com/vmware/harbor/src/jobservice
2016-08-11 15:30:02 +02:00
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"]