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


##########
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:
   ```suggestion
   if [ [ $CPU_ARCH == "aarch64" ] || [ $CPU_ARCH == "amd64" ] ] ; then 
CPU_ARCH="aarch_64"; fi && \
   ```
   
   On my Mac M1, `uname -m` returns `arm64` so I had to make the change above.



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