build: Install wimtools from sid

This commit is contained in:
Kroese 2024-03-25 15:17:19 +01:00 committed by GitHub
parent 057f1de8b3
commit b70777be35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,19 +5,22 @@ ARG DEBCONF_NOWARNINGS "yes"
ARG DEBIAN_FRONTEND "noninteractive" ARG DEBIAN_FRONTEND "noninteractive"
ARG DEBCONF_NONINTERACTIVE_SEEN "true" ARG DEBCONF_NONINTERACTIVE_SEEN "true"
RUN apt-get update \ RUN apt-get update && \
&& apt-get --no-install-recommends -y install \ apt-get --no-install-recommends -y install \
curl \ curl \
7zip \ 7zip \
wsdd \ wsdd \
samba \ samba \
wimtools \
dos2unix \ dos2unix \
cabextract \ cabextract \
genisoimage \ genisoimage \
libxml2-utils \ libxml2-utils && \
&& apt-get clean \ echo "deb http://deb.debian.org/debian/ sid main" >> /etc/apt/sources.list.d/sid.list && \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 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 sid --no-install-recommends -y install wimtools && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY ./src /run/ COPY ./src /run/
COPY ./assets /run/assets COPY ./assets /run/assets