github.com/mistwind/reviewdog@v0.0.0-20230322024206-9cfa11856d58/proto/rdf/Dockerfile (about) 1 FROM golang:1.19.0 2 3 ENV PROTOC_VERSION=3.12.3 4 5 RUN apt-get update && apt-get install unzip 6 7 RUN curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip && \ 8 unzip -o protoc-${PROTOC_VERSION}-linux-x86_64.zip -d /usr/local bin/protoc && \ 9 unzip -o protoc-${PROTOC_VERSION}-linux-x86_64.zip -d /usr/local include/* && \ 10 rm -rf protoc-${PROTOC_VERSION}-linux-x86_64.zip 11 12 RUN go get -u google.golang.org/protobuf/cmd/protoc-gen-go && \ 13 go get github.com/chrusty/protoc-gen-jsonschema/cmd/protoc-gen-jsonschema 14 15 RUN mkdir /workdir 16 WORKDIR /workdir 17 18 COPY entrypoint.sh /entrypoint.sh 19 ENTRYPOINT ["/entrypoint.sh"]