From: Jacob Lifshay Date: Tue, 16 Oct 2018 02:50:52 +0000 (-0700) Subject: fix docker build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c8c99f5827e4e32c711b4075f5f4bce99cab04f;p=kazan.git fix docker build --- 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"]