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
COPY --from=qemux/qemu-arm:1.06 / /
COPY --from=qemux/qemu-arm:1.07 / /
ARG DEBCONF_NOWARNINGS "yes"
ARG DEBIAN_FRONTEND "noninteractive"
ARG DEBCONF_NONINTERACTIVE_SEEN "true"
RUN apt-get update \
&& apt-get --no-install-recommends -y install \
RUN apt-get update && \
apt-get --no-install-recommends -y install \
curl \
7zip \
wsdd \
samba \
wimtools \
dos2unix \
cabextract \
genisoimage \
libxml2-utils \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
libxml2-utils && \
echo "deb http://deb.debian.org/debian/ bookworm main" >> /etc/apt/sources.list.d/bookworm.list && \
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 ./assets /run/assets