mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-21 08:07:59 +01:00
f83c65bcc5
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
13 lines
298 B
Docker
13 lines
298 B
Docker
FROM golang:1.9.2
|
|
|
|
MAINTAINER yinw@vmware.com
|
|
|
|
COPY . /go/src/github.com/vmware/harbor
|
|
|
|
WORKDIR /go/src/github.com/vmware/harbor/src/adminserver
|
|
|
|
RUN go build -a -o /go/bin/harbor_adminserver \
|
|
&& chmod u+x /go/bin/harbor_adminserver
|
|
WORKDIR /go/bin/
|
|
ENTRYPOINT ["/go/bin/harbor_adminserver"]
|