Skip to content

Commit

Permalink
Add dpkg status file to images
Browse files Browse the repository at this point in the history
  • Loading branch information
HadrienPatte committed Sep 25, 2024
1 parent eef108e commit 0e33cb2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 12 deletions.
9 changes: 6 additions & 3 deletions images/prowlarr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
9 changes: 6 additions & 3 deletions images/qbittorrent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
9 changes: 6 additions & 3 deletions images/radarr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
9 changes: 6 additions & 3 deletions images/sonarr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 0e33cb2

Please sign in to comment.