andygrove commented on code in PR #240:
URL: https://github.com/apache/arrow-ballista/pull/240#discussion_r973753040
##########
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:
Adding double quotes here seems to be necessary to make this work both on
Ubuntu AMD and Mac M1.
```suggestion
if [ "$CPU_ARCH"=="aarch64" ]; then CPU_ARCH="aarch_64"; fi && \
```
--
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]