Skip to content

Commit b6771cd

Browse files
committed
remove --offline flag for uv pip install in codeserver/ubi9-python-3.12 to resolve build failures (#2356)
1 parent 706675f commit b6771cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codeserver/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ COPY --from=whl-cache /tmp/control /dev/null
230230
RUN --mount=type=cache,target=/root/.cache/uv \
231231
echo "Installing softwares and packages" && \
232232
# we can ensure wheels are consumed from the cache only by restricting internet access for uv install with '--offline' flag
233-
uv pip install --offline --cache-dir /root/.cache/uv --requirements=./pylock.toml && \
233+
# TODO(jdanek): seen some builds fail on GitHub Actions with --offline and see no need to limit ourselves to the cache, will remove this
234+
uv pip install --cache-dir /root/.cache/uv --requirements=./pylock.toml && \
234235
# Note: debugpy wheel availabe on pypi (in uv cache) is none-any but bundles amd64.so files
235236
# Build debugpy from source instead
236237
uv pip install --no-cache git+https://github.com/microsoft/debugpy.git@v$(grep -A1 '\"debugpy\"' ./pylock.toml | grep -Eo '\b[0-9\.]+\b') && \

0 commit comments

Comments
 (0)