diff --git a/Earthfile b/Earthfile index 615b4cb..f8d502a 100644 --- a/Earthfile +++ b/Earthfile @@ -1,4 +1,4 @@ -VERSION 0.7 +VERSION 0.8 all: BUILD \ @@ -31,6 +31,8 @@ golang-base: # install buf from source RUN GO111MODULE=on GOBIN=/usr/local/bin go install github.com/bufbuild/buf/cmd/buf@v1.34.0 + # install oapi to generate swagger + RUN go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@latest # install the various tools to generate connect-go RUN go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest @@ -41,4 +43,4 @@ golang-base: RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.1 RUN ls -la $(which golangci-lint) - SAVE IMAGE --push tochemey/docker-go:1.22.2-${VERSION} + SAVE IMAGE --push tochemey/docker-go:1.22.5-${VERSION} diff --git a/readme.md b/readme.md index 057c402..78cca88 100644 --- a/readme.md +++ b/readme.md @@ -10,8 +10,9 @@ Linux Docker Image for Golang and Golang development Tools. The project adheres - [golang](https://go.dev/dl/): Go binaries - [buf](https://buf.build): Generate protocol buffers wire format - [mockery](https://github.com/vektra/mockery): Generate mocks for unit tests -- [golangci-lint](https://github.com/golangci/golangci-lint): Linter -- [connect](https://connectrpc.com/): Connect Generator +- [golangci-lint](https://github.com/golangci/golangci-lint): Help run Go Linter +- [connect-go](https://connectrpc.com/): Help generate connect-go related Go code +- [open api generator](https://github.com/oapi-codegen/oapi-codegen): Helps generate Go code from open api yaml file ## Architectures