Skip to content

Commit

Permalink
Merge pull request #1 from citilinkru/feature/update-protoc
Browse files Browse the repository at this point in the history
Update includes libs: protoc, protoc-gen-grpc-web, protoc-gen-go
  • Loading branch information
liderman authored Jul 20, 2020
2 parents d84a4b5 + c090dde commit a8f3497
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.13 as build

RUN PROTOC_GEN_GO_VERSION="v1.3.2" && \
RUN PROTOC_GEN_GO_VERSION="v1.4.2" && \
go get -d -u github.com/golang/protobuf/protoc-gen-go && \
git -C "$(go env GOPATH)"/src/github.com/golang/protobuf checkout $PROTOC_GEN_GO_VERSION && \
go install github.com/golang/protobuf/protoc-gen-go
Expand All @@ -9,8 +9,8 @@ FROM alpine:3.10 as production
COPY --from=build /go/bin/protoc-gen-go /usr/local/bin/

RUN cd /tmp && \
PROTOC_VERSION="3.9.1" && \
PROTOC_GRPC_WEB_VERSION="1.0.6" && \
PROTOC_VERSION="3.12.3" && \
PROTOC_GRPC_WEB_VERSION="1.2.0" && \
apk add --no-cache --virtual .build-dependencies ca-certificates wget unzip git && \
wget -q -O /etc/apk/keys/sgerrand.rsa.pub "https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub" && \
wget -q "https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.30-r0/glibc-2.30-r0.apk" && \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ docker run --rm -v "$(pwd)":/data citilink/docker-protoc protoc -I=./data *.prot
Tags
----

* **1.0.1**: includes: `protoc` (v3.9.1); `protoc-gen-grpc-web` (v1.0.6); `protoc-gen-go` (v1.3.2)
* **2.0.0**: includes: `protoc` (v3.12.3); `protoc-gen-grpc-web` (v1.2.0); `protoc-gen-go` (v1.4.2)
* **1.0.1**: includes: `protoc` (v3.9.1); `protoc-gen-grpc-web` (v1.0.6); `protoc-gen-go` (v1.3.2)

0 comments on commit a8f3497

Please sign in to comment.