From 34fefaf1328632766da78be858e9dc88d798f760 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Fri, 12 May 2017 15:39:30 +0100 Subject: [PATCH] Fix preserving symlinks when copying glibc libraries --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 336f827..2342c39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,7 +60,7 @@ RUN curl -L https://ftp.gnu.org/gnu/glibc/glibc-$GLIBC_VER.tar.xz | tar xJ && \ make && make install_root=$(pwd)/out install # Copy glibc libs & generate ld cache -RUN cp -r glibc-build/out/lib/*.so /output/lib && \ +RUN cp -d glibc-build/out/lib/*.so /output/lib && \ echo '/usr/lib' > /output/etc/ld.so.conf && \ ldconfig -r /output