diff --git a/Dockerfile b/Dockerfile index 21e49d39c5..34f86ad1d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -163,7 +163,7 @@ RUN ln -sf /opt/python/bin/python3 /.venv/bin/python3 && \ RUN find /.venv -name "*.so" -exec ldd {} \; 2>&1 | grep "not found" && exit 1 || true # Distroless production image — minimal attack surface, no shell -FROM ghcr.io/getsentry/dhi/python:3.13-debian13 AS application-distroless +FROM ghcr.io/oioki/python-base-image/python:3.13-debian13 AS application-distroless COPY --from=distroless_prep /.venv /.venv COPY --from=distroless_prep /usr/src/snuba /usr/src/snuba @@ -187,7 +187,7 @@ ENTRYPOINT ["python3", "/usr/src/snuba/docker_entrypoint.py"] CMD ["api"] # Debug distroless image — includes busybox (sh, ls, cat, wget, env, etc.) -FROM ghcr.io/getsentry/dhi/python:3.13-debian13-dev AS application-distroless-debug +FROM ghcr.io/oioki/python-base-image/python:3.13-debian13-dev AS application-distroless-debug COPY --from=distroless_prep /.venv /.venv COPY --from=distroless_prep /usr/src/snuba /usr/src/snuba