mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 12:28:01 +08:00
build: support building inside a container
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
FROM golang:1.12.8
|
||||
|
||||
RUN go version
|
||||
ENV GO111MODULE on
|
||||
RUN go get -u github.com/swaggo/swag/cmd/swag
|
||||
WORKDIR /go/src/github.com/anuvu/zot
|
||||
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.17.1
|
||||
Reference in New Issue
Block a user