Skip to content

Commit

Permalink
stop pip from caching downloaded packages in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
jarkenau committed Dec 14, 2023
1 parent d767bad commit 27bd92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ COPY requirements.txt /tmp/requirements.txt
# With --ignore-installed, the uninstall is skipped and the new version is installd on top of the old one.
RUN pip3 install --upgrade pip \
&& PATH=/home/docker/.local/bin:${PATH} \
&& pip3 install -r /tmp/requirements.txt --ignore-installed PyYAML \
&& pip3 install -r /tmp/requirements.txt --ignore-installed PyYAML --no-cache-dir \
&& rm /tmp/requirements.txt

#Install seerep dependencies from apt
Expand Down

0 comments on commit 27bd92e

Please sign in to comment.