mirror of
https://github.com/goharbor/harbor
synced 2025-04-25 03:23:16 +00:00

Bump up the golang for compiling the binaries to 1.12.12 This commit also includes some minor changes to Makefile to fix issue in building the binary files. Signed-off-by: Daniel Jiang <jiangd@vmware.com>
8 lines
270 B
Docker
8 lines
270 B
Docker
FROM golang:1.12.12
|
|
|
|
ADD . /go/src/github.com/goharbor/harbor-scanner-clair/
|
|
WORKDIR /go/src/github.com/goharbor/harbor-scanner-clair/
|
|
|
|
RUN export GOOS=linux GO111MODULE=on CGO_ENABLED=0 && \
|
|
go build github.com/goharbor/harbor-scanner-clair/cmd/harbor-scanner-clair
|