diff --git a/.github/actions/dhi-base-images/action.yml b/.github/actions/dhi-base-images/action.yml index 24d7af27b6..f9bc1441e5 100644 --- a/.github/actions/dhi-base-images/action.yml +++ b/.github/actions/dhi-base-images/action.yml @@ -50,7 +50,7 @@ runs: echo "NODE_RUNTIME_IMAGE=dhi.io/node:24-debian13@sha256:d6ae37f15884f5c9a3b945beba1dd5781b7107ecbcb72b64db9bbb7a74d7d870" echo "EOF" echo "DHI_PYTHON_BUILD_ARGS<> "$GITHUB_ENV" diff --git a/backend/Dockerfile b/backend/Dockerfile index e81007c5f6..e3a4923781 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -9,7 +9,7 @@ # pull-through cache (.dkr.ecr.us-east-2.amazonaws.com/docker-hub) to avoid Docker # Hub rate limits. Declared before the first FROM so it applies to every base image below. ARG BASE_IMAGE_REGISTRY=docker.io -FROM ${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:881d80734ee05dca6f7f42dcb080975652a53c7eda9ba1f03bb8da31aa6a6ec2 AS builder +FROM ${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:9d2e5553305c7c7b0097999bb17187c69b921ccd6bc9d40e4bb5ebe652c00285 AS builder COPY --from=ghcr.io/astral-sh/uv:0.11.25@sha256:1e3808aa9023d0980e7c15b1fa7c1ac16ff35925780cf5c459858b2d693f01a9 /uv /uvx /bin/ @@ -55,7 +55,7 @@ RUN uv pip install --system --no-cache-dir --no-deps --require-hashes \ # The actual shipped image. Installs only runtime system libraries and copies the already-built # Python packages from the builder stage. #################################################################################################### -FROM ${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:881d80734ee05dca6f7f42dcb080975652a53c7eda9ba1f03bb8da31aa6a6ec2 AS runtime +FROM ${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:9d2e5553305c7c7b0097999bb17187c69b921ccd6bc9d40e4bb5ebe652c00285 AS runtime LABEL com.danswer.maintainer="founders@onyx.app" LABEL com.danswer.description="This image is the web/frontend container of Onyx which \ diff --git a/backend/Dockerfile.model_server b/backend/Dockerfile.model_server index 68ebd2d28f..f0869fe565 100644 --- a/backend/Dockerfile.model_server +++ b/backend/Dockerfile.model_server @@ -7,8 +7,8 @@ ARG BASE_IMAGE_REGISTRY=docker.io # extra registry access. CI overrides both with the matching Docker Hardened Images from # dhi.io, which need a Docker account with DHI catalog access. # Refresh a digest with: docker buildx imagetools inspect -ARG PYTHON_BUILDER_IMAGE=${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:881d80734ee05dca6f7f42dcb080975652a53c7eda9ba1f03bb8da31aa6a6ec2 -ARG PYTHON_RUNTIME_IMAGE=${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:881d80734ee05dca6f7f42dcb080975652a53c7eda9ba1f03bb8da31aa6a6ec2 +ARG PYTHON_BUILDER_IMAGE=${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:9d2e5553305c7c7b0097999bb17187c69b921ccd6bc9d40e4bb5ebe652c00285 +ARG PYTHON_RUNTIME_IMAGE=${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:9d2e5553305c7c7b0097999bb17187c69b921ccd6bc9d40e4bb5ebe652c00285 # Build stage. Needs a root user plus a shell and build tooling to install the wheels, # which both the default slim image and the DHI "-dev" variant provide. diff --git a/backend/onyx/server/features/build/sandbox/image/Dockerfile b/backend/onyx/server/features/build/sandbox/image/Dockerfile index 50bc338cfa..f35d1bd431 100644 --- a/backend/onyx/server/features/build/sandbox/image/Dockerfile +++ b/backend/onyx/server/features/build/sandbox/image/Dockerfile @@ -41,7 +41,7 @@ RUN set -eux; \ tar -xzf "${tarball}"; \ install -m 0755 "gh_${GH_CLI_VERSION}_linux_${arch}/bin/gh" /usr/local/bin/gh -FROM ${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:f82c96458eedc847b233e582eb31336f4954b39cae020b6dcf5b3ed0e5cbcd74 +FROM ${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:9d2e5553305c7c7b0097999bb17187c69b921ccd6bc9d40e4bb5ebe652c00285 # Set ENABLE_SKILLS=false in dev/CI to skip skill-runtime deps (LibreOffice, # poppler, fonts, pptxgenjs) and shave ~700 MB. Skills themselves are pushed by diff --git a/backend/tests/integration/mock_services/mock_connector_server/Dockerfile b/backend/tests/integration/mock_services/mock_connector_server/Dockerfile index 63e2815917..d8a60bd230 100644 --- a/backend/tests/integration/mock_services/mock_connector_server/Dockerfile +++ b/backend/tests/integration/mock_services/mock_connector_server/Dockerfile @@ -2,7 +2,7 @@ # pull-through cache (.dkr.ecr.us-east-2.amazonaws.com/docker-hub) to avoid Docker # Hub rate limits. ARG BASE_IMAGE_REGISTRY=docker.io -FROM ${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:881d80734ee05dca6f7f42dcb080975652a53c7eda9ba1f03bb8da31aa6a6ec2 +FROM ${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:9d2e5553305c7c7b0097999bb17187c69b921ccd6bc9d40e4bb5ebe652c00285 WORKDIR /app diff --git a/tools/loadtest/mock_llm/Dockerfile b/tools/loadtest/mock_llm/Dockerfile index c2d4492a5c..33003ff62c 100644 --- a/tools/loadtest/mock_llm/Dockerfile +++ b/tools/loadtest/mock_llm/Dockerfile @@ -1,7 +1,7 @@ # Mock OpenAI-compatible LLM server for Onyx load testing. # Build from the tools/loadtest/ directory: docker build -f mock_llm/Dockerfile -t onyx-mock-llm . ARG BASE_IMAGE_REGISTRY=docker.io -FROM ${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:881d80734ee05dca6f7f42dcb080975652a53c7eda9ba1f03bb8da31aa6a6ec2 +FROM ${BASE_IMAGE_REGISTRY}/library/python:3.13-slim@sha256:9d2e5553305c7c7b0097999bb17187c69b921ccd6bc9d40e4bb5ebe652c00285 WORKDIR /app