From 9c8c99f5827e4e32c711b4075f5f4bce99cab04f Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 15 Oct 2018 19:50:52 -0700 Subject: [PATCH] fix docker build --- Dockerfile | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6a57621..bc15bf8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,20 +19,6 @@ ENV PATH="$VULKAN_SDK/bin:$PATH" LD_LIBRARY_PATH="$VULKAN_SDK/lib:" VK_LAYER_PAT WORKDIR /build/kazan COPY run-cts.sh run-cts.sh RUN ./run-cts.sh --update-only -COPY external/ external/ -COPY Cargo.toml Cargo.toml -COPY vulkan-driver/Cargo.toml vulkan-driver/build.rs vulkan-driver/vulkan-wrapper.h vulkan-driver/ -COPY shader-compiler/Cargo.toml shader-compiler/ -COPY shader-compiler-llvm-7/Cargo.toml shader-compiler-llvm-7/ -RUN set -e; \ - mkdir -p vulkan-driver/src; \ - mkdir -p shader-compiler/src; \ - mkdir -p shader-compiler-llvm-7/src; \ - echo "// empty" > vulkan-driver/src/lib.rs; \ - echo "// empty" > shader-compiler/src/lib.rs; \ - echo "// empty" > shader-compiler-llvm-7/src/lib.rs; \ - cargo build -vv; \ - rm */src/lib.rs COPY . . -RUN touch -c */src/lib.rs && cargo build +RUN cargo build -vv CMD ["./run-cts.sh", "--no-update"] -- 2.30.2