This commit is contained in:
parent
5b2f1fe2dd
commit
6628325843
@ -13,7 +13,7 @@ FROM golang@sha256:52a48e0239f4d645b20ac268a60361703afe7feb2df5697fa89f72052cb87
|
||||
#FROM golang:1.16-buster AS builder
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt update && apt install -y make bzip2
|
||||
RUN apt update && apt install -y make bzip2 protobuf-compiler
|
||||
|
||||
RUN mkdir -p /build
|
||||
WORKDIR /build
|
||||
|
4
Makefile
4
Makefile
@ -24,6 +24,10 @@ devprereqs:
|
||||
which golangci-lint || go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
||||
|
||||
mfer: $(PROTOC_GEN_GO) src/*.go cmd/*/*.go
|
||||
-echo PATH is $(PATH)
|
||||
-find $(GOPATH)
|
||||
-echo GOPATH/bin contents:
|
||||
-find $(GOPATH)/bin
|
||||
cd proto && go generate .
|
||||
cd cmd/mfer && go build -o ../../mfer $(GOFLAGS) .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user