diff --git a/Dockerfile b/Dockerfile index 7bc291ec..8858f716 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,15 +29,16 @@ COPY --link app/ ./app/ # tools/check_all_lfs.bash and references tools/runANN/ANNTest.cpp. COPY --link tools/ ./tools/ COPY --link src/ ./src/ +COPY --link third_party/ ./third_party/ # -march=native is off: this image is published and has to run on CPUs other -# than the builder's. The LFS check is off too: tests/ is not copied into this -# stage, so it could only fail. +# than the builder's. The LFS check and the unit tests are off too: tests/ is +# not copied into this stage, so they could only fail. # # Only libforefireL.so is carried into the runtime stage, and the wheel build # below compiles the core again on its own terms, so building the `forefire` # and ANN_test executables here as well would just be a wasted compile. -RUN cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DFOREFIRE_NATIVE_ARCH=OFF -DFOREFIRE_CHECK_LFS=OFF \ +RUN cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DFOREFIRE_NATIVE_ARCH=OFF -DFOREFIRE_CHECK_LFS=OFF -DFOREFIRE_BUILD_TESTS=OFF \ && cmake --build build -j"$(nproc)" --target forefireL COPY --link bindings/ ./bindings/