Skip to content
Snippets Groups Projects
Commit d9755815 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: apt fails if cache is locked by other architecture

parent dd65435d
No related branches found
No related tags found
1 merge request!518irt: rollout `v1.0.5`
This commit is part of merge request !518. Comments created here will be created in the context of that merge request.
......@@ -11,7 +11,7 @@ FROM ${DOCKER_REGISTRY}${BASE_IMAGE}:${INTERNAL_TAG} as builder
ARG TARGETPLATFORM
## install some extra spack dependencies
RUN --mount=type=cache,target=/var/cache/apt \
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
rm -f /etc/apt/apt.conf.d/docker-clean \
&& apt-get -yqq update \
&& apt-get -yqq install --no-install-recommends \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment