Skip to content

Conversation

@radarhere
Copy link
Member


RUN /usr/sbin/adduser -D pillow && \
pip3 install virtualenv && virtualenv /vpy3 && \
pip3 install -I virtualenv && virtualenv /vpy3 && \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    -I                    don't match patterns in binary files

What exactly is this doing?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The longer version of the flag is '--ignore-installed' - https://stackoverflow.com/q/51913361/4093019

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, thanks. The above was the help text for grep, I searched my console for -i and got the wrong one!

Real one:

  -I, --ignore-installed      Ignore the installed packages, overwriting them. This can break your system if the existing package is
                              of a different version or was installed with a different package manager!

@hugovk hugovk merged commit 3e3249d into python-pillow:master Aug 14, 2020
@radarhere radarhere deleted the fixes branch August 14, 2020 11:53
@hugovk hugovk mentioned this pull request Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants