File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ FROM debian:bookworm AS gcloud-installer
1616WORKDIR /app
1717ENV DEBIAN_FRONTEND=noninteractive
1818
19- RUN --mount=type=cache,target=/var/lib/apt \
20- --mount=type=cache,target=/var/cache/apt \
19+ RUN --mount=type=cache,target=/var/lib/apt,id=apt-cache-${TARGETARCH} \
20+ --mount=type=cache,target=/var/cache/apt,id=apt-cache-${TARGETARCH} \
2121 apt-get update && \
2222 apt-get install --no-install-recommends -y curl unzip ca-certificates zip tzdata wget gnupg2 bzip2 apt-transport-https locales locales-all lsb-release git python3-crcmod python3-openssl
2323
@@ -54,8 +54,8 @@ FROM debian:bookworm
5454WORKDIR /app
5555ENV DEBIAN_FRONTEND=noninteractive
5656
57- RUN --mount=type=cache,target=/var/lib/apt \
58- --mount=type=cache,target=/var/cache/apt \
57+ RUN --mount=type=cache,target=/var/lib/apt,id=apt-cache-${TARGETARCH} \
58+ --mount=type=cache,target=/var/cache/apt,id=apt-cache-${TARGETARCH} \
5959 apt-get update && \
6060 apt-get install --no-install-recommends -y curl unzip ca-certificates zip tzdata wget gnupg2 bzip2 apt-transport-https locales locales-all lsb-release git python3-crcmod python3-openssl
6161
You can’t perform that action at this time.
0 commit comments