Skip to content

Commit 3885595

Browse files
committed
test
1 parent 9ca382e commit 3885595

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

flavors/ci_light/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
## @generated by .automation/build.py using descriptor files, please do not update manually ##
1212
#############################################################################################
1313
#ARGTOP__START
14-
14+
ARG TARGETPLATFORM
1515
#ARGTOP__END
1616

1717
#############################################################################################
@@ -28,6 +28,11 @@ FROM ghcr.io/astral-sh/uv:0.8.0 AS uv
2828
FROM python:3.13-alpine3.21 AS build-ml-core
2929
WORKDIR /
3030
COPY --from=uv /uv /uvx /bin/
31+
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
32+
apk -U --no-cache upgrade && apk add --no-cache curl libgcc build-base musl-dev; \
33+
curl https://sh.rustup.rs -sSf | sh -s -- -y; \
34+
fi
35+
ENV PATH="/root/.cargo/bin:${PATH}"
3136
# Install dependencies
3237
RUN --mount=type=cache,target=/root/.cache/uv \
3338
--mount=type=bind,source=uv.lock,target=uv.lock \

0 commit comments

Comments
 (0)