File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
packages/service-integration Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 5555 run : |
5656 export DOCKER_IMAGE_TAG="$TAG_PREFIX-latest-arm64"
5757 export DOCKER_TARGET_PLATFORMS=linux/arm64
58- # These environment variables are necessary because of https://github.com/astral-sh/uv/issues/6105
59- # and until https://gitlab.com/qemu-project/qemu/-/issues/2846 gets fixed
60- export UV_COMPILE_BYTECODE=1
61- export UV_CONCURRENT_INSTALLS=1
6258 make build push=true
Original file line number Diff line number Diff line change @@ -66,6 +66,14 @@ COPY --from=uv_build /uv /uvx /bin/
6666# packages may be moved to production image easily by copying the venv
6767RUN uv venv "${VIRTUAL_ENV}"
6868
69+ # Set UV_CONCURRENT_INSTALLS=1 for ARM64 to improve build performance
70+ # These environment variables are necessary because of https://github.com/astral-sh/uv/issues/6105
71+ # and until https://gitlab.com/qemu-project/qemu/-/issues/2846 gets fixed
72+ RUN if [ "$TARGETARCH" = "arm64" ]; then \
73+ echo "Setting UV_CONCURRENT_INSTALLS=1 for ARM64 architecture" ; \
74+ export UV_CONCURRENT_INSTALLS=1; \
75+ fi
76+
6977RUN --mount=type=cache,target=/root/.cache/uv \
7078 uv pip install --upgrade \
7179 pip~=24.0 \
You can’t perform that action at this time.
0 commit comments