diff --git a/dev/docker/onedal-dev.Dockerfile b/dev/docker/onedal-dev.Dockerfile index b1df7b3b288..e0ed5e4609b 100644 --- a/dev/docker/onedal-dev.Dockerfile +++ b/dev/docker/onedal-dev.Dockerfile @@ -17,9 +17,6 @@ FROM ubuntu:22.04@sha256:adbb90115a21969d2fe6fa7f9af4253e16d45f8d4c1e930182610c4731962658 ARG workdirectory="/sources/oneDAL" - -COPY . ${workdirectory} - WORKDIR ${workdirectory} #Env setup @@ -35,6 +32,13 @@ RUN wget --quiet \ # Put conda in path to use conda activate ENV PATH $CONDA_DIR/bin:$PATH +# Installing environment for bazel +RUN wget https://github.com/bazelbuild/bazelisk/releases/download/v1.18.0/bazelisk-linux-amd64 && \ + chmod 755 bazelisk-linux-amd64 && \ + mv bazelisk-linux-amd64 /usr/bin/bazel + +COPY . ${workdirectory} + # Installing environment for base development dependencies RUN .ci/env/apt.sh dev-base @@ -44,11 +48,6 @@ RUN .ci/env/apt.sh dpcpp # Installing environment for clang-format RUN .ci/env/apt.sh clang-format -# Installing environment for bazel -RUN wget https://github.com/bazelbuild/bazelisk/releases/download/v1.18.0/bazelisk-linux-amd64 && \ - chmod 755 bazelisk-linux-amd64 && \ - mv bazelisk-linux-amd64 /usr/bin/bazel - # Installing openBLAS dependency RUN .ci/env/openblas.sh @@ -57,4 +56,3 @@ RUN ./dev/download_micromkl.sh # Installing oneTBB dependency RUN ./dev/download_tbb.sh -