build: Install wimtools from sid (#49)

This commit is contained in:
Kroese 2024-03-25 15:03:55 +01:00 committed by GitHub
parent d977ddbcf3
commit fa106aa3b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -21,5 +21,5 @@ jobs:
uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
ignore: DL3008
ignore: DL3008,DL4006,SC3037
failure-threshold: warning

View file

@ -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/*