cicd: Move make instructions to dockerfile
This commit is contained in:
parent
bfe38e03c3
commit
99238d21b3
|
|
@ -1,5 +1,9 @@
|
||||||
FROM fedora
|
FROM fedora
|
||||||
RUN dnf install go make -y --exclude=iputils
|
RUN dnf install go -y --exclude=iputils
|
||||||
COPY Makefile ./
|
RUN go install "github.com/bufbuild/buf/cmd/buf"
|
||||||
RUN make go-tools
|
RUN go install "github.com/fzipp/gocyclo/cmd/gocyclo"
|
||||||
|
RUN go install "github.com/go-critic/go-critic/cmd/gocritic"
|
||||||
|
RUN go install "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway"
|
||||||
|
RUN go install "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
|
||||||
|
RUN go install "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
|
||||||
|
RUN go install "google.golang.org/protobuf/cmd/protoc-gen-go"
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
go-tools:
|
|
||||||
go install "github.com/bufbuild/buf/cmd/buf"
|
|
||||||
go install "github.com/fzipp/gocyclo/cmd/gocyclo"
|
|
||||||
go install "github.com/go-critic/go-critic/cmd/gocritic"
|
|
||||||
go install "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway"
|
|
||||||
go install "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
|
|
||||||
go install "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
|
|
||||||
go install "google.golang.org/protobuf/cmd/protoc-gen-go"
|
|
||||||
|
|
||||||
.PHONY: go-tools
|
|
||||||
Loading…
Reference in New Issue