precice / systemtests

Testing preCICE / solver combinations using Docker
GNU General Public License v3.0
3 stars 4 forks source link

Install pip via apt #260

Closed Eder-K closed 3 years ago

Eder-K commented 3 years ago

Closes #97.

This changes the pip installation method: we now use pip provided by apt.

Note: the installation of pip should occur in the dockerfile that requires it, not in earlier base files. At the moment, only fenics-adapter requires pip to function, so it is the only adapter affected by this change.

In Ubuntu 18.04, we have found that the pip version provided by apt is too old, therefore we add the following step after installing pip:

pip3 install --user --upgrade pip

For context, the discussion below also mentions additional, unrelated changes to the dockerfiles that were initially attached to this PR. These changes have since moved to https://github.com/precice/systemtests/pull/269.