From cf3f1f04cd13935061d1188d9acb947577368fb5 Mon Sep 17 00:00:00 2001 From: Simon L Date: Mon, 6 Mar 2023 11:42:00 +0100 Subject: [PATCH 1/3] update some imaginary dependencies to improve performance Signed-off-by: Simon L --- Containers/imaginary/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Containers/imaginary/Dockerfile b/Containers/imaginary/Dockerfile index 15c610f7..2924967c 100644 --- a/Containers/imaginary/Dockerfile +++ b/Containers/imaginary/Dockerfile @@ -4,10 +4,17 @@ FROM nextcloud/imaginary:20230301 USER root RUN set -ex; \ \ + echo "deb http://deb.debian.org/debian sid main" > /etc/apt/sources.list.d/sid.list \ apt-get update; \ apt-get install -y --no-install-recommends \ netcat \ ; \ + apt-get install -t sid -y --no-install-recommends \ + libheif1 \ + libde265-0 \ + libx265-199 \ + libvips \ + ; \ rm -rf /var/lib/apt/lists/* USER nobody From 56a95182c74decc786f2f06f5a68f4f7fb64c12a Mon Sep 17 00:00:00 2001 From: Simon L Date: Tue, 7 Mar 2023 09:56:03 +0100 Subject: [PATCH 2/3] change to bookworm Signed-off-by: Simon L --- Containers/imaginary/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containers/imaginary/Dockerfile b/Containers/imaginary/Dockerfile index 2924967c..ecebefbf 100644 --- a/Containers/imaginary/Dockerfile +++ b/Containers/imaginary/Dockerfile @@ -4,12 +4,12 @@ FROM nextcloud/imaginary:20230301 USER root RUN set -ex; \ \ - echo "deb http://deb.debian.org/debian sid main" > /etc/apt/sources.list.d/sid.list \ + echo "deb http://deb.debian.org/debian bookworm main" > /etc/apt/sources.list.d/bookworm.list \ apt-get update; \ apt-get install -y --no-install-recommends \ netcat \ ; \ - apt-get install -t sid -y --no-install-recommends \ + apt-get install -t bookworm -y --no-install-recommends \ libheif1 \ libde265-0 \ libx265-199 \ From ebbcb998cefce1b9586f459f67e8baab9797607e Mon Sep 17 00:00:00 2001 From: Simon L Date: Tue, 7 Mar 2023 10:04:11 +0100 Subject: [PATCH 3/3] address review Signed-off-by: Simon L --- Containers/imaginary/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Containers/imaginary/Dockerfile b/Containers/imaginary/Dockerfile index ecebefbf..b27ec131 100644 --- a/Containers/imaginary/Dockerfile +++ b/Containers/imaginary/Dockerfile @@ -4,17 +4,19 @@ FROM nextcloud/imaginary:20230301 USER root RUN set -ex; \ \ - echo "deb http://deb.debian.org/debian bookworm main" > /etc/apt/sources.list.d/bookworm.list \ apt-get update; \ apt-get install -y --no-install-recommends \ netcat \ ; \ + echo "deb http://deb.debian.org/debian bookworm main" > /etc/apt/sources.list.d/bookworm.list \ + apt-get update; \ apt-get install -t bookworm -y --no-install-recommends \ libheif1 \ libde265-0 \ libx265-199 \ libvips \ ; \ + rm /etc/apt/sources.list.d/bookworm.list; \ rm -rf /var/lib/apt/lists/* USER nobody