From 67cd9bdec0b2c096caa962cfe12efaa39a1b5f36 Mon Sep 17 00:00:00 2001 From: zhikunyao Date: Wed, 4 Feb 2026 22:23:50 +0800 Subject: [PATCH] test: update docker image for builder (#47556) Replace `apt-get upgrade -y gpgv` with proper installation command. The upgrade command syntax was incorrect and caused build failures with exit code 100. --------- Signed-off-by: Zhikun Yao Co-authored-by: Claude Sonnet 4.5 --- .github/workflows/publish-builder.yaml | 8 +++++--- build/docker/milvus/ubuntu20.04/Dockerfile | 3 +-- build/docker/milvus/ubuntu22.04/Dockerfile | 3 +-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-builder.yaml b/.github/workflows/publish-builder.yaml index 2a47f2d2c5a..27fdb11d767 100644 --- a/.github/workflows/publish-builder.yaml +++ b/.github/workflows/publish-builder.yaml @@ -37,12 +37,14 @@ jobs: uses: easimon/maximize-build-space@master if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner with: - root-reserve-mb: 20480 - # overprovision-lvm: 'true' - swap-size-mb: 1024 + root-reserve-mb: 10240 + overprovision-lvm: 'true' + swap-size-mb: 2048 remove-dotnet: 'true' remove-android: 'true' remove-haskell: 'true' + remove-codeql: 'true' + remove-docker-images: 'true' - name: Checkout uses: actions/checkout@v2 - name: Get version from system time after release step diff --git a/build/docker/milvus/ubuntu20.04/Dockerfile b/build/docker/milvus/ubuntu20.04/Dockerfile index 4dd73b083a0..088e9ee343c 100644 --- a/build/docker/milvus/ubuntu20.04/Dockerfile +++ b/build/docker/milvus/ubuntu20.04/Dockerfile @@ -19,8 +19,7 @@ RUN apt-get update && \ apt-get install -y --no-install-recommends ca-certificates && \ sed -i 's/http:/https:/g' /etc/apt/sources.list && \ apt-get update && \ - apt-get upgrade -y gpgv && \ - apt-get install -y --no-install-recommends curl libaio-dev libgomp1 libopenblas-dev && \ + apt-get install -y --no-install-recommends gpgv curl libaio-dev libgomp1 libopenblas-dev && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata && \ ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime && \ echo "Etc/UTC" > /etc/timezone && \ diff --git a/build/docker/milvus/ubuntu22.04/Dockerfile b/build/docker/milvus/ubuntu22.04/Dockerfile index d561cfb4624..b7816fed206 100644 --- a/build/docker/milvus/ubuntu22.04/Dockerfile +++ b/build/docker/milvus/ubuntu22.04/Dockerfile @@ -19,8 +19,7 @@ RUN apt-get update && \ apt-get install -y --no-install-recommends ca-certificates && \ sed -i 's/http:/https:/g' /etc/apt/sources.list && \ apt-get update && \ - apt-get upgrade -y gpgv && \ - apt-get install -y --no-install-recommends curl libaio-dev libgomp1 libopenblas-dev && \ + apt-get install -y --no-install-recommends gpgv curl libaio-dev libgomp1 libopenblas-dev && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata && \ ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime && \ echo "Etc/UTC" > /etc/timezone && \