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 && \