[Bug] Login shell error: bash: /root/.cargo/env: No such file or directory (#12941)
This commit is contained in:
@@ -314,7 +314,8 @@ RUN --mount=type=cache,target=/root/.cache/pip curl --proto '=https' --tlsv1.2 -
|
||||
&& cd /sgl-workspace/sglang/sgl-router \
|
||||
&& ulimit -n 65536 && maturin build --release --features vendored-openssl --out dist \
|
||||
&& python3 -m pip install --force-reinstall dist/*.whl \
|
||||
&& rm -rf /root/.cargo /root/.rustup target dist ~/.cargo
|
||||
&& rm -rf /root/.cargo /root/.rustup target dist ~/.cargo \
|
||||
&& sed -i '/\.cargo\/env/d' /root/.profile /root/.bashrc 2>/dev/null || true
|
||||
|
||||
|
||||
# Add yank script
|
||||
|
||||
Reference in New Issue
Block a user