[Bazel] Make pytorch-requirements.txt available within the docker container (#1439)

Updates the bazel Dockerfile to match changes from https://github.com/llvm/torch-mlir/pull/1419. This should get the bazel build back to green.

Also triggered bazel build on GHA here: https://github.com/sjain-stanford/torch-mlir/actions/runs/3154741943. Let's wait for it to complete before landing this.
pull/1442/head
Sambhav Jain 2022-09-29 16:30:31 -07:00 committed by GitHub
parent cf41a2582e
commit 0765449684
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -27,8 +27,9 @@ RUN wget -q https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSIO
&& chmod a+x /usr/bin/bazel && chmod a+x /usr/bin/bazel
COPY requirements.txt /opt/app/requirements.txt COPY requirements.txt /opt/app/requirements.txt
COPY pytorch-requirements.txt /opt/app/pytorch-requirements.txt
WORKDIR /opt/app WORKDIR /opt/app
RUN python -m pip install --upgrade pip RUN python -m pip install --upgrade pip
RUN python -m pip install --ignore-installed -r requirements.txt RUN python -m pip install --upgrade --ignore-installed -r requirements.txt
WORKDIR /opt/src/torch-mlir WORKDIR /opt/src/torch-mlir