From b51f6068d429945826692be1d4a6cfd96ee18083 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Tue, 3 Oct 2023 00:58:28 -0400 Subject: [PATCH] Containerfile: noextract python EXTERNALLY-MANAGED file --- Containerfile | 1 + noextract-python.conf | 1 + 2 files changed, 2 insertions(+) create mode 100644 noextract-python.conf diff --git a/Containerfile b/Containerfile index 16a736e..8aac134 100644 --- a/Containerfile +++ b/Containerfile @@ -7,6 +7,7 @@ RUN apk add ca-certificates curl && \ curl "${MIRROR}/static/xbps-static-static-0.59_5.$(uname -m)-musl.tar.xz" | tar vJx COPY keys/* /target/var/db/xbps/keys/ COPY setup.sh /bootstrap/setup.sh +COPY noextract-python.conf /target/etc/xbps.d/noextract-python.conf RUN --mount=type=cache,sharing=locked,target=/target/var/cache/xbps,id=repocache-${LIBC} \ . /bootstrap/setup.sh; \ XBPS_TARGET_ARCH=${ARCH} xbps-install -S \ diff --git a/noextract-python.conf b/noextract-python.conf new file mode 100644 index 0000000..0fd6564 --- /dev/null +++ b/noextract-python.conf @@ -0,0 +1 @@ +noextract=/usr/lib/python*/EXTERNALLY-MANAGED