File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 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
2828FROM python:3.13-alpine3.21 AS build-ml-core
2929WORKDIR /
3030COPY --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
3237RUN --mount=type=cache,target=/root/.cache/uv \
3338 --mount=type=bind,source=uv.lock,target=uv.lock \
You can’t perform that action at this time.
0 commit comments