@@ -29,8 +29,8 @@ RUN --mount=type=cache,target=/root/.npm npm run build
2929FROM docker.io/ubuntu:22.04 AS xorg-deps
3030WORKDIR /xorg
3131ENV DEBIAN_FRONTEND=noninteractive
32- RUN --mount=type=cache,target=/var/cache/apt,sharing=locked ,id=ubuntu2204-aptcache \
33- --mount=type=cache,target=/var/lib/apt,sharing=locked ,id=ubuntu2204-aptlib \
32+ RUN --mount=type=cache,target=/var/cache/apt,sharing=private ,id=ubuntu2204-aptcache \
33+ --mount=type=cache,target=/var/lib/apt,sharing=private ,id=ubuntu2204-aptlib \
3434 rm -f /etc/apt/apt.conf.d/docker-clean; \
3535 echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache; \
3636 set -eux; \
@@ -61,8 +61,8 @@ FROM docker.io/ubuntu:22.04
6161ENV DEBIAN_FRONTEND=noninteractive
6262ENV DEBIAN_PRIORITY=high
6363
64- RUN --mount=type=cache,target=/var/cache/apt,sharing=locked ,id=ubuntu2204-aptcache \
65- --mount=type=cache,target=/var/lib/apt,sharing=locked ,id=ubuntu2204-aptlib \
64+ RUN --mount=type=cache,target=/var/cache/apt,sharing=private ,id=ubuntu2204-aptcache \
65+ --mount=type=cache,target=/var/lib/apt,sharing=private ,id=ubuntu2204-aptlib \
6666 rm -f /etc/apt/apt.conf.d/docker-clean; \
6767 echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache; \
6868 apt-get update && \
@@ -142,8 +142,8 @@ RUN --mount=type=cache,target=/tmp/cache/ffmpeg,id=ffmpeg \
142142
143143# runtime
144144ENV USERNAME=root
145- RUN --mount=type=cache,target=/var/cache/apt,sharing=locked ,id=ubuntu2204-aptcache \
146- --mount=type=cache,target=/var/lib/apt,sharing=locked ,id=ubuntu2204-aptlib \
145+ RUN --mount=type=cache,target=/var/cache/apt,sharing=private ,id=ubuntu2204-aptcache \
146+ --mount=type=cache,target=/var/lib/apt,sharing=private ,id=ubuntu2204-aptlib \
147147 set -eux; \
148148 apt-get update; \
149149 apt-get --no-install-recommends -y install \
@@ -175,11 +175,11 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=ubuntu2204-aptcac
175175 chown -R $USERNAME:$USERNAME /home/$USERNAME;
176176
177177# install chromium and sqlite3 for debugging the cookies file
178- RUN --mount=type=cache,target=/var/cache/apt,sharing=locked ,id=ubuntu2204-aptcache \
179- --mount=type=cache,target=/var/lib/apt,sharing=locked ,id=ubuntu2204-aptlib \
178+ RUN --mount=type=cache,target=/var/cache/apt,sharing=private ,id=ubuntu2204-aptcache \
179+ --mount=type=cache,target=/var/lib/apt,sharing=private ,id=ubuntu2204-aptlib \
180180 add-apt-repository -y ppa:xtradeb/apps;
181- RUN --mount=type=cache,target=/var/cache/apt,sharing=locked ,id=ubuntu2204-aptcache \
182- --mount=type=cache,target=/var/lib/apt,sharing=locked ,id=ubuntu2204-aptlib \
181+ RUN --mount=type=cache,target=/var/cache/apt,sharing=private ,id=ubuntu2204-aptcache \
182+ --mount=type=cache,target=/var/lib/apt,sharing=private ,id=ubuntu2204-aptlib \
183183 apt update -y && apt --no-install-recommends -y install chromium sqlite3;
184184
185185# setup desktop env & app
0 commit comments