Skip to content

Commit

Permalink
[ci] Fix docker caching issue (#2468)
Browse files Browse the repository at this point in the history
* [ci] Fix docker caching issue

* rm

* fix

* fix
  • Loading branch information
k-ye authored Jun 28, 2021
1 parent df0d9c3 commit f33d344
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ ENV PATH="/taichi-llvm-10.0.0-linux/bin:$PATH"
ENV CC="clang-10"
ENV CXX="clang++-10"
WORKDIR /taichi-dev

# Prevent docker caching when head changes
ADD https://api.github.com/repos/taichi-dev/taichi/git/refs/heads/master version.json
RUN git clone https://github.com/taichi-dev/taichi --depth=1 --branch=master
# Install Taichi's Python dependencies
RUN $PYTHON -m pip install --user -r taichi/requirements.txt
Expand Down

0 comments on commit f33d344

Please sign in to comment.