From 70c8ae1dcae95b2084aabec8c325a6d3697382d1 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Fri, 9 Oct 2026 21:44:57 +0000 Subject: [PATCH] ci: pull Docker Hub images from getsentry/image-mirror Docker Hub has been rate limiting and timing out anonymous pulls from GitHub-hosted runners. Use the GHCR copies from getsentry/image-mirror, pinned to the patch tag each floating tag resolved to. Co-Authored-By: Joshua Li <14209781+joshuarli@users.noreply.github.com> --- Dockerfile | 4 ++-- scripts/strip/Dockerfile.cctools | 4 ++-- tests/e2e/Dockerfile.test-runner | 2 +- tests/e2e/mock-sentry-api/Dockerfile | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 633e71dd..d3416991 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build libdispatch for the strip binary -FROM --platform=linux/amd64 debian:12-slim AS libdispatch-build +FROM --platform=linux/amd64 ghcr.io/getsentry/image-mirror-library-debian:12.15-slim AS libdispatch-build RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ @@ -27,7 +27,7 @@ RUN git clone https://github.com/apple/swift-corelibs-libdispatch.git && \ make install # Use Python 3.14 slim image -FROM python:3.14.4-slim-bookworm +FROM ghcr.io/getsentry/image-mirror-library-python:3.14.4-slim-bookworm # Build argument to determine if this is a test build ARG TEST_BUILD=false diff --git a/scripts/strip/Dockerfile.cctools b/scripts/strip/Dockerfile.cctools index 0cc8af51..0e77cacc 100644 --- a/scripts/strip/Dockerfile.cctools +++ b/scripts/strip/Dockerfile.cctools @@ -1,5 +1,5 @@ # Build the Apple cctools 'strip' from cctools-port on Linux -FROM --platform=linux/amd64 debian:12-slim AS build +FROM --platform=linux/amd64 ghcr.io/getsentry/image-mirror-library-debian:12.15-slim AS build RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ @@ -55,7 +55,7 @@ RUN ./configure --prefix=/out RUN make -j"$(nproc)" && make install-strip # Verify the binary is working -FROM --platform=linux/amd64 python:3.14.4-slim-bookworm AS verify +FROM --platform=linux/amd64 ghcr.io/getsentry/image-mirror-library-python:3.14.4-slim-bookworm AS verify # Install runtime dependencies needed by the strip binaries RUN apt-get update && apt-get install -y --no-install-recommends \ libbsd0 \ diff --git a/tests/e2e/Dockerfile.test-runner b/tests/e2e/Dockerfile.test-runner index 44418da2..6ede91fb 100644 --- a/tests/e2e/Dockerfile.test-runner +++ b/tests/e2e/Dockerfile.test-runner @@ -1,4 +1,4 @@ -FROM python:3.14.4-slim-bookworm +FROM ghcr.io/getsentry/image-mirror-library-python:3.14.4-slim-bookworm # Install uv RUN python3 -m pip --no-cache-dir --disable-pip-version-check install 'uv==0.11.17' diff --git a/tests/e2e/mock-sentry-api/Dockerfile b/tests/e2e/mock-sentry-api/Dockerfile index b9db178e..035cf21e 100644 --- a/tests/e2e/mock-sentry-api/Dockerfile +++ b/tests/e2e/mock-sentry-api/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.14.4-slim-bookworm +FROM ghcr.io/getsentry/image-mirror-library-python:3.14.4-slim-bookworm # Install uv RUN python3 -m pip --no-cache-dir --disable-pip-version-check install 'uv==0.11.17'