You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2023/01/20 15:15:58 UTC

[arrow-adbc] branch main updated: ci: download arch-specific golang (#364)

This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 730f036  ci: download arch-specific golang (#364)
730f036 is described below

commit 730f036d54a037b41f0d4120ecad00e88a4493b9
Author: David Li <li...@gmail.com>
AuthorDate: Fri Jan 20 10:15:52 2023 -0500

    ci: download arch-specific golang (#364)
---
 ci/docker/python-wheel-manylinux.dockerfile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/ci/docker/python-wheel-manylinux.dockerfile b/ci/docker/python-wheel-manylinux.dockerfile
index c78d083..8985df5 100644
--- a/ci/docker/python-wheel-manylinux.dockerfile
+++ b/ci/docker/python-wheel-manylinux.dockerfile
@@ -23,7 +23,10 @@ ARG VCPKG
 
 FROM ${REPO}:${ARCH}-python-${PYTHON}-wheel-manylinux-${MANYLINUX}-vcpkg-${VCPKG}
 
+ARG ARCH
+
 RUN yum install -y docker
-RUN wget https://go.dev/dl/go1.19.5.linux-amd64.tar.gz
-RUN tar -C /usr/local -xzf go1.19.5.linux-amd64.tar.gz
+# arm64v8 -> arm64
+RUN wget https://go.dev/dl/go1.19.5.linux-${ARCH/v8/}.tar.gz
+RUN tar -C /usr/local -xzf go1.19.5.linux-${ARCH/v8/}.tar.gz
 ENV PATH="${PATH}:/usr/local/go/bin"