andygrove commented on code in PR #240:
URL: https://github.com/apache/arrow-ballista/pull/240#discussion_r973753760


##########
dev/docker/ballista.dockerfile:
##########
@@ -49,7 +49,9 @@ ARG PROTOC_VERSION=21.4
 RUN mkdir /tmp/protoc
 WORKDIR /tmp/protoc
 
-RUN export PROTO_ZIP="protoc-${PROTOC_VERSION}-linux-x86_64.zip" && \
+RUN CPU_ARCH=`uname -m` && \
+  if [ $CPU_ARCH=="aarch64" ]; then CPU_ARCH="aarch_64"; fi && \

Review Comment:
   ~Actually, I am struggling to make this work in both envs. Ubuntu seems to 
want spaces around the `==`.~
   
   With my suggested changes this is now working on both Ubuntu AMD64 and Mac 
M1.



-- 
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]

Reply via email to