From e9d8d57ec6b5215b0b3334d314e759670ae4022c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 16 Oct 2018 19:42:31 +0300 Subject: [PATCH] Fix adding build-compiler-rt.sh after wiping the build dir With newer docker versions, "COPY foo .", when the workdir doesn't exist, produces a plain file named as the workdir, breaking the rest of the build. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4ced091..6a720dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,7 +44,7 @@ RUN ./build-libcxx.sh $TOOLCHAIN_PREFIX && \ rm -rf /build # Build sanitizers -COPY build-compiler-rt.sh . +COPY build-compiler-rt.sh ./ RUN ./build-compiler-rt.sh $TOOLCHAIN_PREFIX --build-sanitizers && \ rm -rf /build