harbor/make/dev/jobservice/Dockerfile
Tan Jiang f83c65bcc5 Reduce the output of build.
The following are done to avoid travis-ci failing due to too much log
size.
1) Update Makefile and scripts to make go build less verbose.
2) Make tdnf less verbose
2018-02-27 20:54:52 +08:00

13 lines
296 B
Docker

FROM golang:1.9.2
MAINTAINER jiangd@vmware.com
COPY . /go/src/github.com/vmware/harbor
WORKDIR /go/src/github.com/vmware/harbor/src/jobservice
RUN go build -a -o /go/bin/harbor_jobservice \
&& chmod u+x /go/bin/harbor_jobservice
WORKDIR /go/bin/
ENTRYPOINT ["/go/bin/harbor_jobservice"]