diff --git a/packages/service-integration/Dockerfile b/packages/service-integration/Dockerfile index b41f4d07b0b..254b77e6762 100644 --- a/packages/service-integration/Dockerfile +++ b/packages/service-integration/Dockerfile @@ -12,7 +12,7 @@ LABEL maintainer=pcrespov # for docker apt caching to work this needs to be added: [https://vsupalov.com/buildkit-cache-mount-dockerfile/] RUN rm -f /etc/apt/apt.conf.d/docker-clean && \ echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache -RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ +RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ --mount=type=cache,target=/var/lib/apt,mode=0755,sharing=private \ set -eux \ && apt-get update \ diff --git a/services/dask-sidecar/Dockerfile b/services/dask-sidecar/Dockerfile index 5ea8e90d545..ef868fa44e5 100644 --- a/services/dask-sidecar/Dockerfile +++ b/services/dask-sidecar/Dockerfile @@ -22,7 +22,7 @@ LABEL maintainer=sanderegg # for docker apt caching to work this needs to be added: [https://vsupalov.com/buildkit-cache-mount-dockerfile/] RUN rm -f /etc/apt/apt.conf.d/docker-clean && \ echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache -RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ +RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ --mount=type=cache,target=/var/lib/apt,mode=0755,sharing=private \ set -eux \ && apt-get update \ @@ -78,7 +78,7 @@ FROM base AS build ENV SC_BUILD_TARGET=build -RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ +RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \ --mount=type=cache,target=/var/lib/apt,mode=0755,sharing=private \ set -eux \ && apt-get update \