Skip to content

Commit 64e788e

Browse files
committed
Restore BuildKit cache mounts in pixi-installer stage
1 parent 6466e90 commit 64e788e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ ARG PIXI_VERSION
2222
ARG PIXI_AMD64_SHA256
2323
ARG PIXI_ARM64_SHA256
2424

25-
RUN apt-get update && apt-get install -y --no-install-recommends \
25+
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
26+
--mount=type=cache,target=/var/lib/apt,sharing=locked \
27+
apt-get update && apt-get install -y --no-install-recommends \
2628
wget \
2729
ca-certificates && \
2830
ARCH=$(dpkg --print-architecture) && \

0 commit comments

Comments
 (0)