pool/gen/Dockerfile
positiveblue f98f27b2fd
mock: Add mockgen workflow
- `make mock`: generates all the mocks for testing.
- `mock-check`: generates all the mocks + checks if any *.go file changed.
- `make gen`: generates all the auto generated files (protos + mocks).
- Add `mock-check` to our CI
2021-11-10 14:05:10 -08:00

7 lines
144 B
Docker

FROM golang:1.17.1-bullseye
RUN go install github.com/golang/mock/mockgen@v1.6.0
WORKDIR /build
CMD ["/bin/bash", "-c", "go generate ./..."]