Replies: 1 comment 1 reply
-
|
Hi @shentaoss, I don't actually see a Daft build step in this Dockerfile. Did you share the entire file? There are a number of build config parameters that could cause the manually-built wheel is larger and slower, such as which compiler or linker optimizations are enabled and whether debug symbols are stripped. I would encourage you to check out our |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
from quay.io/pypa/manylinux_2_24_x86_64:latest
WORKDIR /root
COPY ./sources.list /etc/apt/
RUN apt-get update && apt-get install -y --allow-unauthenticated sudo locales-all vim wget zip perl build-essential zlib1g-dev libssl-dev
ENV PATH="/root/.cargo/bin:/opt/python/cp311-cp311/bin:${PATH}"
LC_ALL=en_US.UTF-8
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none &&
rustup toolchain install nightly-2025-09-03 &&
rustup default nightly-2025-09-03 &&
echo '. $HOME/.cargo/env' >> /root/.bashrc
COPY ./.npmrc ./bun-linux-x64*.zip ./
COPY ./config.toml ./.cargo/
COPY ./pip.conf ./.pip/
RUN unzip ./bun-linux-x64*.zip &&
mv ./bun-linux-x64*/bun /usr/local/bin &&
rm -rf ./bun-linux-x64* ./bun-linux-x64*.zip &&
python -m pip install --upgrade pip && python -m pip install maturin
RUN ln -sf /opt/python/cp311-cp311/bin/python /usr/local/bin/python &&
ln -sf /opt/python/cp311-cp311/bin/pip /usr/local/bin/pip &&
ln -sf /opt/python/cp311-cp311/bin/maturin /usr/local/bin/maturin
Beta Was this translation helpful? Give feedback.
All reactions