fix(e2e): replace Docker Hub images in E2E tests to avoid rate limits#369
Merged
fix(e2e): replace Docker Hub images in E2E tests to avoid rate limits#369
Conversation
… limits Unauthenticated pulls from Docker Hub hit 429 rate limits in E2E tests and wheel builds. Switch all python:* base image references to ghcr.io/nvidia/openshell/ci:latest which is already authenticated in every CI workflow.
The CI image is heavyweight and not intended as a sandbox base. Use the community sandbox base image instead, which is purpose-built for running inside sandboxes.
The community sandbox base image already includes iproute2 and the sandbox user/group (UID/GID 1000). The groupadd command failed because GID 1000 already exists in the base image.
drew
approved these changes
Mar 16, 2026
This test validates building a truly custom image from scratch, so it needs a generic base (not the sandbox base image). Use the ECR public mirror of python:3.13-slim to avoid Docker Hub rate limits.
The CI image's mise shims don't resolve Python tools (pip, maturin) outside /opt/mise. Revert wheel Dockerfiles to the original python:3.12-slim base until a proper fix is in place.
The larger sandbox base image takes longer to pull than the previous alpine image, leaving less headroom for the readiness check.
The sandbox base image is too large and times out during pull. Use the ECR public mirror of python:3.13-alpine which is small and fast.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Unauthenticated pulls from Docker Hub hit 429 rate limits in E2E tests. This switches the three test files that use
python:*base images to alternatives that don't pull from Docker Hub.Changes
python:3.13-slim→public.ecr.aws/docker/library/python:3.13-slim(ECR public mirror, keeps a truly custom Dockerfile with iproute2 + sandbox user)python:3.13-alpine→ghcr.io/nvidia/openshell-community/sandboxes/base:latest(community sandbox base)python:3.13-alpine→ghcr.io/nvidia/openshell-community/sandboxes/base:latest(community sandbox base)Testing
mise run pre-commitpassesChecklist