abstractdog commented on code in PR #452:
URL: https://github.com/apache/tez/pull/452#discussion_r2703730347
##########
build-tools/docker/Dockerfile:
##########
@@ -96,20 +97,16 @@ RUN add-apt-repository -y ppa:longsleep/golang-backports \
#############
######
-# Install Google Protobuf 3.21.1
+# Install Google Protobuf 3.25.5
######
FROM tezbase AS protobuf
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
-RUN mkdir -p /opt/protobuf-src \
+RUN mkdir -p /opt/protobuf \
&& curl -L -s -S \
-
https://github.com/protocolbuffers/protobuf/releases/download/v21.1/protobuf-java-3.21.1.tar.gz
\
- -o /opt/protobuf.tar.gz \
- && tar xzf /opt/protobuf.tar.gz --strip-components 1 -C /opt/protobuf-src
-WORKDIR /opt/protobuf-src
-RUN ./configure --prefix=/opt/protobuf \
- && make install
-WORKDIR /root
-RUN rm -rf /opt/protobuf-src
+
https://github.com/protocolbuffers/protobuf/releases/download/v25.5/protoc-25.5-linux-x86_64.zip
\
Review Comment:
change looks good, compiling protobuf from source is an overkill if there is
a binary available
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]