Skip to content

Commit f8fe654

Browse files
committed
Development: accept PRUNE_PACKAGE_CACHE argument in Dockerfile
Use `ARG` in Dockerfile to invalidate the cache when this argument changes. Requires readthedocs/common#244
1 parent bfae64f commit f8fe654

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dockerfiles/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ RUN ln -s /usr/bin/python3 /usr/bin/python
6464

6565
WORKDIR /tmp
6666

67+
ARG PRUNE_PACKAGE_CACHE=0
6768
COPY requirements/docker.txt docker.txt
6869
RUN ~/.local/bin/uv pip sync --system docker.txt
6970

0 commit comments

Comments
 (0)