From 6cd6cde6e7d27039656b6453a0e6802917126544 Mon Sep 17 00:00:00 2001 From: Antoine Toulme Date: Sun, 6 Oct 2024 22:59:32 -0700 Subject: [PATCH] Remove parquet from the protobuf build image --- protobuf/Dockerfile | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/protobuf/Dockerfile b/protobuf/Dockerfile index 91f972b2..276099ce 100644 --- a/protobuf/Dockerfile +++ b/protobuf/Dockerfile @@ -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 @@ -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