Skip to content

Commit

Permalink
Remove parquet from the protobuf build image (#359)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Suereth <joshuasuereth@google.com>
  • Loading branch information
atoulme and jsuereth authored Nov 27, 2024
1 parent 2fd1692 commit 7544509
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions protobuf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ ARG GRPC_JAVA_VERSION=1.51.3
ARG PROTOC_GEN_GOGO_VERSION=b03c65ea87cdc3521ede29f62fe3ce239267c1bc
ARG PROTOC_GEN_LINT_VERSION=0.3.0
ARG GRPC_GATEWAY_VERSION=2.15.0
ARG PROTOC_GEN_PARQUET_VERSION=0.4.3
ARG UPX_VERSION=4.0.2

ARG TARGETARCH=amd64
Expand Down Expand Up @@ -121,15 +120,6 @@ RUN mkdir -p ${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway && \
mkdir -p /out/usr/include/protoc-gen-openapiv2/options && \
install -D $(find ./protoc-gen-openapiv2/options -name '*.proto') -t /out/usr/include/protoc-gen-openapiv2/options

ARG PROTOC_GEN_PARQUET_VERSION
RUN mkdir -p ${GOPATH}/src/github.com/atoulme/protoc-gen-parquet && \
curl -sSL https://api.github.com/repos/atoulme/protoc-gen-parquet/tarball/v${PROTOC_GEN_PARQUET_VERSION} | tar xz --strip 1 -C ${GOPATH}/src/github.com/atoulme/protoc-gen-parquet && \
cd ${GOPATH}/src/github.com/atoulme/protoc-gen-parquet && \
go build -ldflags '-w -s' -o bin/protoc-gen-parquet . && \
install -Ds bin/protoc-gen-parquet /out/usr/bin/protoc-gen-parquet && \
mkdir -p /out/usr/include/protoc-gen-parquet/options && \
install -D $(find ./parquet_options -name '*.proto') -t /out/usr/include/protoc-gen-parquet/options

FROM alpine:3.18 as packer
RUN apk add --no-cache curl

Expand Down

0 comments on commit 7544509

Please sign in to comment.