Skip to content

Conversation

stephanos
Copy link
Collaborator

@stephanos stephanos commented Oct 2, 2025

What was changed

Make Python worker image work offline.

Why?

More predictable behavior; and works in offline environments.

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@stephanos stephanos force-pushed the python-offline branch 5 times, most recently from 1ccd50f to 8d18289 Compare October 2, 2025 23:46
ENV PATH="$PATH:/root/.cargo/bin"

# Install uv
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was missing TARGETARCH

@stephanos stephanos force-pushed the python-offline branch 9 times, most recently from 01ab992 to 436bf46 Compare October 3, 2025 22:23

# Download the worker dependencies for offline use
WORKDIR /app/workers/python/prepared
RUN uv lock && uv sync --frozen
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main change.

@stephanos stephanos marked this pull request as ready for review October 3, 2025 22:30
@stephanos stephanos requested a review from a team as a code owner October 3, 2025 22:30
@stephanos stephanos requested a review from Sushisource October 3, 2025 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant