This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 935f318c7c GH-47673: [CI][Integration] Fix Go build failure (#47674)
935f318c7c is described below
commit 935f318c7c4c89c8957e4704faf9e3d28e755fe3
Author: Sutou Kouhei <[email protected]>
AuthorDate: Wed Oct 1 06:58:35 2025 +0900
GH-47673: [CI][Integration] Fix Go build failure (#47674)
### Rationale for this change
Our latest Go version detection is broken. It doesn't detect the latest
version.
It caused Apache Arrow Go install failure.
### What changes are included in this PR?
Use conda to install Go.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #47673
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
ci/docker/conda-integration.dockerfile | 20 +-------------------
1 file changed, 1 insertion(+), 19 deletions(-)
diff --git a/ci/docker/conda-integration.dockerfile
b/ci/docker/conda-integration.dockerfile
index 5a5556c23b..651bf98485 100644
--- a/ci/docker/conda-integration.dockerfile
+++ b/ci/docker/conda-integration.dockerfile
@@ -37,6 +37,7 @@ RUN mamba install -q -y \
"python < 3.12" \
numpy \
compilers \
+ go \
maven=${maven} \
nodejs=${node} \
yarn=${yarn} \
@@ -49,25 +50,6 @@ RUN mamba install -q -y \
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s --
--profile=minimal -y && \
$HOME/.cargo/bin/rustup component add rustfmt
-ENV GOROOT=/opt/go \
- GOBIN=/opt/go/bin \
- GOPATH=/go \
- PATH=/opt/go/bin:$PATH
-# Use always latest go
-RUN wget -nv -O - https://dl.google.com/go/go$( \
- curl \
- --fail \
- --location \
- --show-error \
- --silent \
- https://api.github.com/repos/golang/go/git/matching-refs/tags/go | \
- grep -o '"ref": "refs/tags/go.*"' | \
- tail -n 1 | \
- sed \
- -e 's,^"ref": "refs/tags/go,,g' \
- -e 's/"$//g' \
- ).linux-${arch}.tar.gz | tar -xzf - -C /opt
-
ENV DOTNET_ROOT=/opt/dotnet \
PATH=/opt/dotnet:$PATH
RUN curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -Channel
8.0 -InstallDir /opt/dotnet