build: Install wimtools from sid

This commit is contained in:
Kroese 2024-03-25 14:58:54 +01:00 committed by GitHub
parent d977ddbcf3
commit 5a9f723483
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,9 +15,10 @@ RUN apt-get update && \
cabextract \ cabextract \
genisoimage \ genisoimage \
libxml2-utils && \ 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 update && \
apt-get -t bookworm --no-install-recommends -y install wimtools && \ apt-get -t sid --no-install-recommends -y install wimtools && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*