janhoy commented on code in PR #50:
URL: https://github.com/apache/solr-orbit/pull/50#discussion_r3659021002
##########
docker/Dockerfile:
##########
@@ -13,13 +13,15 @@ RUN apt-get -y update && \
apt-get -y upgrade && \
rm -rf /var/lib/apt/lists/*
+# Install uv
+COPY --from=ghcr.io/astral-sh/uv:0.10.2 /uv /uvx /usr/local/bin/
+
WORKDIR /build/solr-orbit
COPY . .
-# There is no binary package currently available for yappi on ARM.
-RUN make build && \
- if test "$(uname -m)" = aarch64; then pip wheel yappi && cp yappi-*.whl
dist; fi
-
+# Build the wheel with uv; also build a yappi wheel on ARM where no binary is
available
+RUN uv build --wheel && \
+ if test "$(uname -m)" = aarch64; then uv pip install --system wheel &&
python -m pip wheel yappi -w dist; fi
Review Comment:
Your fix to this @epugh omits the `yappi`part..
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]