Skip to content

Commit 8b475a9

Browse files
committed
ci: adjust dockerfile
Signed-off-by: thxCode <thxcode0824@gmail.com>
1 parent 85da340 commit 8b475a9

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

pack/Dockerfile

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -250,19 +250,21 @@ EOF
250250

251251
## Install
252252

253-
RUN --mount=type=cache,target=/root/.cache/uv \
253+
RUN --mount=type=cache,target=/root/.cache \
254254
--mount=type=bind,target=/workspace/runtime,rw <<EOF
255255
# Install gpustack-runtime
256256

257-
cd /workspace/runtime
258-
259-
make prepare
260-
257+
export PIP_NO_CACHE_DIR=0
258+
export UV_NO_CACHE=0
261259
export UV_SYSTEM_PYTHON=1
262260
export UV_PRERELEASE=allow
263261
export UV_LINK_MODE=copy
264-
export UV_NO_CACHE=0
265-
uv pip install .
262+
263+
cd /workspace/runtime \
264+
&& make prepare
265+
266+
uv pip install --no-build-isolation \
267+
/workspace/runtime
266268
uv pip tree
267269
EOF
268270
ENV GPUSTACK_RUNTIME_DEPLOY_MIRRORED_DEPLOYMENT="true" \

0 commit comments

Comments
 (0)