diff --git a/images/prowlarr/Dockerfile b/images/prowlarr/Dockerfile index d82a0cf..629d3e8 100644 --- a/images/prowlarr/Dockerfile +++ b/images/prowlarr/Dockerfile @@ -8,12 +8,15 @@ ARG CHISEL_VERSION # Install chisel and build rootfs with prowlarr dependencies RUN \ go install github.com/canonical/chisel/cmd/chisel@${CHISEL_VERSION} \ - && mkdir /rootfs \ - && chisel cut \ + && curl -LO https://raw.githubusercontent.com/canonical/rocks-toolbox/main/chisel-wrapper \ + && chmod +x ./chisel-wrapper \ + && apt update \ + && apt install file --yes \ + && mkdir -p /rootfs/var/lib/dpkg \ + && ./chisel-wrapper --generate-dpkg-status /rootfs/var/lib/dpkg/status -- \ --release ubuntu-24.04 \ --root /rootfs \ base-files_base \ - base-files_release-info \ ca-certificates_data \ libicu74_libs \ libsqlite3-0_libs \ diff --git a/images/qbittorrent/Dockerfile b/images/qbittorrent/Dockerfile index e3970dd..a4c5756 100644 --- a/images/qbittorrent/Dockerfile +++ b/images/qbittorrent/Dockerfile @@ -8,12 +8,15 @@ ARG CHISEL_VERSION # Install chisel and build rootfs RUN \ go install github.com/canonical/chisel/cmd/chisel@${CHISEL_VERSION} \ - && mkdir /rootfs \ - && chisel cut \ + && curl -LO https://raw.githubusercontent.com/canonical/rocks-toolbox/main/chisel-wrapper \ + && chmod +x ./chisel-wrapper \ + && apt update \ + && apt install file --yes \ + && mkdir -p /rootfs/var/lib/dpkg \ + && ./chisel-wrapper --generate-dpkg-status /rootfs/var/lib/dpkg/status -- \ --release ubuntu-24.04 \ --root /rootfs \ base-files_base \ - base-files_release-info \ ca-certificates_data \ && useradd \ --root /rootfs \ diff --git a/images/radarr/Dockerfile b/images/radarr/Dockerfile index d870df1..c225abd 100644 --- a/images/radarr/Dockerfile +++ b/images/radarr/Dockerfile @@ -8,12 +8,15 @@ ARG CHISEL_VERSION # Install chisel and build rootfs with radarr dependencies RUN \ go install github.com/canonical/chisel/cmd/chisel@${CHISEL_VERSION} \ - && mkdir /rootfs \ - && chisel cut \ + && curl -LO https://raw.githubusercontent.com/canonical/rocks-toolbox/main/chisel-wrapper \ + && chmod +x ./chisel-wrapper \ + && apt update \ + && apt install file --yes \ + && mkdir -p /rootfs/var/lib/dpkg \ + && ./chisel-wrapper --generate-dpkg-status /rootfs/var/lib/dpkg/status -- \ --release ubuntu-24.04 \ --root /rootfs \ base-files_base \ - base-files_release-info \ ca-certificates_data \ libicu74_libs \ libsqlite3-0_libs \ diff --git a/images/sonarr/Dockerfile b/images/sonarr/Dockerfile index f34c461..9bee003 100644 --- a/images/sonarr/Dockerfile +++ b/images/sonarr/Dockerfile @@ -8,12 +8,15 @@ ARG CHISEL_VERSION # Install chisel and build rootfs with sonarr dependencies RUN \ go install github.com/canonical/chisel/cmd/chisel@${CHISEL_VERSION} \ - && mkdir /rootfs \ - && chisel cut \ + && curl -LO https://raw.githubusercontent.com/canonical/rocks-toolbox/main/chisel-wrapper \ + && chmod +x ./chisel-wrapper \ + && apt update \ + && apt install file --yes \ + && mkdir -p /rootfs/var/lib/dpkg \ + && ./chisel-wrapper --generate-dpkg-status /rootfs/var/lib/dpkg/status -- \ --release ubuntu-24.04 \ --root /rootfs \ base-files_base \ - base-files_release-info \ ca-certificates_data \ libicu74_libs \ libsqlite3-0_libs \