From 487dd36cf841e791dfe40f50c9d507cc2960bf2f Mon Sep 17 00:00:00 2001 From: Benjamin Riefenstahl Date: Wed, 26 Jan 2022 19:15:42 +0100 Subject: [PATCH] images/qemu/Dockerfile (COPY): Use wildcards. --- images/qemu/Dockerfile | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/images/qemu/Dockerfile b/images/qemu/Dockerfile index ed17013..23a3180 100644 --- a/images/qemu/Dockerfile +++ b/images/qemu/Dockerfile @@ -45,21 +45,10 @@ RUN cd qemu-4.1.0 && ./configure \ RUN cd qemu-4.1.0 && make && make install FROM scratch -COPY --from=0 /bin/qemu-system-x86_64 /bin/ -COPY --from=0 /bin/qemu-system-i386 /bin/ -COPY --from=0 /bin/qemu-system-aarch64 /bin/ -COPY --from=0 /bin/qemu-system-arm /bin/ -COPY --from=0 /bin/qemu-system-ppc64 /bin/ -COPY --from=0 /bin/qemu-system-s390x /bin/ -COPY --from=0 /bin/qemu-system-mips /bin/ -COPY --from=0 /bin/qemu-system-mipsel /bin/ -COPY --from=0 /bin/qemu-system-mips64el /bin/ +COPY --from=0 /bin/qemu-system-* /bin/ COPY --from=0 /share/qemu/ /share/qemu/ -# It is safe and recommended to update the libnss_dns version if you -# don't have this version on your system. -# Please send a patch in as well! :) -COPY --from=0 /lib/x86_64-linux-gnu/libnss_dns-2.31.so /lib/x86_64-linux-gnu/ -COPY --from=0 /lib/x86_64-linux-gnu/libnss_dns.so.2 /lib/x86_64-linux-gnu/ + +COPY --from=0 /lib/x86_64-linux-gnu/libnss_dns*.so* /lib/x86_64-linux-gnu/ COPY --from=0 /etc/nsswitch.conf /etc/ CMD ["/bin/qemu-system-x86_64"] -- 2.38.5