We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8af1891 + aced991 commit 3d5d152Copy full SHA for 3d5d152
tools/docker/bazel.dockerfile
@@ -1,6 +1,7 @@
1
ARG BASE_IMAGE_OS_NAME=fedora
2
ARG BASE_IMAGE_OS_VERSION=38
3
FROM ${BASE_IMAGE_OS_NAME}:${BASE_IMAGE_OS_VERSION}
4
+ARG TARGETARCH
5
6
COPY --chown=0:0 bazel/install-deps.sh /
7
@@ -9,7 +10,7 @@ RUN dnf install -y wget || { apt-get update && apt install -y wget; }
9
10
# ubuntu already has this installed by default
11
RUN dnf install -y procps-ng || true
12
RUN wget -O /usr/local/bin/bazel \
- https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-amd64 && \
13
+ https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-${TARGETARCH} && \
14
chmod +x /usr/local/bin/bazel
15
16
# run after wget installation to take advantage of pkg cache cleaning
0 commit comments