build: Install wimtools from bookworm (#48)

This commit is contained in:
Kroese 2024-03-25 14:32:37 +01:00 committed by GitHub
parent 500792ebe9
commit d977ddbcf3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,23 +1,25 @@
FROM scratch FROM scratch
COPY --from=qemux/qemu-arm:1.06 / / COPY --from=qemux/qemu-arm:1.07 / /
ARG DEBCONF_NOWARNINGS "yes" 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/ bookworm main" >> /etc/apt/sources.list.d/bookworm.list && \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* apt-get update && \
apt-get -t bookworm --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