From fa106aa3b7299039c4fa90d1c9d84f86c2462ea8 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 25 Mar 2024 15:03:55 +0100 Subject: [PATCH] build: Install wimtools from sid (#49) --- .github/workflows/check.yml | 2 +- Dockerfile | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 2c1ce5a..ea76481 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -21,5 +21,5 @@ jobs: uses: hadolint/hadolint-action@v3.1.0 with: dockerfile: Dockerfile - ignore: DL3008 + ignore: DL3008,DL4006,SC3037 failure-threshold: warning diff --git a/Dockerfile b/Dockerfile index 2526af3..2baba66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,9 +15,10 @@ RUN apt-get update && \ cabextract \ genisoimage \ libxml2-utils && \ - echo "deb http://deb.debian.org/debian/ bookworm main" >> /etc/apt/sources.list.d/bookworm.list && \ + echo "deb http://deb.debian.org/debian/ sid main" >> /etc/apt/sources.list.d/sid.list && \ + echo -e "Package: *\nPin: release n=trixie\nPin-Priority: 900\nPackage: *\nPin: release n=sid\nPin-Priority: 400" | tee /etc/apt/preferences.d/preferences > /dev/null && \ apt-get update && \ - apt-get -t bookworm --no-install-recommends -y install wimtools && \ + apt-get -t sid --no-install-recommends -y install wimtools && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*