diff --git a/Dockerfile b/Dockerfile index d5965f6..15b969b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Makefile b/Makefile index 8e17306..fa1ac4e 100644 --- a/Makefile +++ b/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) .