Skip to content

Commit 0c03524

Browse files
committed
WIP
1 parent e980b7e commit 0c03524

32 files changed

Lines changed: 207 additions & 172 deletions

.github/workflows/cpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
runs-on: ubuntu-latest
9797
title: AMD64 Ubuntu 24.04 C++ ASAN UBSAN
9898
ubuntu: 24.04
99-
- arch: arm64v8
99+
- arch: arm64/v8
100100
clang-tools: 18
101101
image: ubuntu-cpp
102102
llvm: 18

ci/docker/almalinux-10-verify-rc.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# under the License.
1717

1818
ARG arch=amd64
19-
FROM ${arch}/almalinux:10
19+
FROM --platform=linux/${arch} almalinux:10
2020

2121
COPY dev/release/setup-rhel-rebuilds.sh /
2222
RUN /setup-rhel-rebuilds.sh && \

ci/docker/almalinux-8-verify-rc.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# under the License.
1717

1818
ARG arch=amd64
19-
FROM ${arch}/almalinux:8
19+
FROM --platform=linux/${arch} almalinux:8
2020

2121
COPY dev/release/setup-rhel-rebuilds.sh /
2222
RUN /setup-rhel-rebuilds.sh && \

ci/docker/alpine-linux-3.22-cpp.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# under the License.
1717

1818
ARG arch=amd64
19-
FROM ${arch}/alpine:3.22
19+
FROM --platform=linux/${arch} alpine:3.22
2020

2121
RUN apk add \
2222
apache-orc-dev \

ci/docker/alpine-linux-3.22-r.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# Replicates CRAN's Alpine environment as closely as possible
2121

2222
ARG arch=amd64
23-
FROM ${arch}/alpine:3.22
23+
FROM --platform=linux/${arch} alpine:3.22
2424

2525
# Install R and essential build tools
2626
# Note: bash is needed for Arrow CI scripts, even though CRAN's Alpine uses BusyBox

ci/docker/conda-cpp.dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717

1818
ARG repo
1919
ARG arch
20-
FROM ${repo}:${arch}-conda
20+
ARG arch_short
21+
FROM --platform=linux/${arch} ${repo}:${arch_short}-conda
2122

2223
COPY ci/scripts/install_minio.sh /arrow/ci/scripts
2324
RUN /arrow/ci/scripts/install_minio.sh latest /opt/conda

ci/docker/conda-integration.dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
# under the License.
1717

1818
ARG repo
19-
ARG arch=amd64
20-
FROM ${repo}:${arch}-conda-cpp
19+
ARG arch
20+
ARG arch_short
21+
FROM --platform=linux/${arch} ${repo}:${arch_short}-conda-cpp
2122

22-
ARG arch=amd64
2323
# We need to synchronize the following values with the values in .env
2424
# and services.conda-integration in compose.yaml.
2525
ARG maven=3.9.9

ci/docker/conda-python-dask.dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
# under the License.
1717

1818
ARG repo
19-
ARG arch=amd64
19+
ARG arch
20+
ARG arch_short
2021
ARG python=3.10
21-
FROM ${repo}:${arch}-conda-python-${python}
22+
FROM --platform=linux/${arch} ${repo}:${arch_short}-conda-python-${python}
2223

2324
ARG dask=latest
2425
COPY ci/scripts/install_dask.sh /arrow/ci/scripts/

ci/docker/conda-python-emscripten.dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717

1818
ARG repo
1919
ARG arch
20+
ARG arch_short
2021
ARG python="3.12"
21-
FROM ${repo}:${arch}-conda-python-${python}
22+
FROM --platform=linux/${arch} ${repo}:${arch_short}-conda-python-${python}
2223

2324
ARG selenium_version="4.41.0"
2425
ARG pyodide_version="0.26.0"

ci/docker/conda-python-hdfs.dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
# under the License.
1717

1818
ARG repo
19-
ARG arch=amd64
19+
ARG arch
20+
ARG arch_short
2021
ARG python=3.10
21-
FROM ${repo}:${arch}-conda-python-${python}
22+
FROM --platform=linux/${arch} ${repo}:${arch_short}-conda-python-${python}
2223

2324
ARG jdk=11
2425
ARG maven=3.9.9

0 commit comments

Comments
 (0)