diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2021-02-16 08:38:06 +0100 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2021-02-16 08:40:39 +0100 |
commit | 79d56d7829f2fbd6314102c6a1c70c5025f6e106 (patch) | |
tree | e281b3da74019ce8847969ff369e2c6b3ba141e1 | |
parent | 01e5b28d134740254fb755611a704ae20b983a65 (diff) | |
download | dockerfiles-79d56d7829f2fbd6314102c6a1c70c5025f6e106.tar.gz |
tf-a: set an explicit pip version
fixes the following error:
File "/tmp/get-pip.py", line 199, in main
bootstrap(tmpdir=tmpdir)
File "/tmp/get-pip.py", line 82, in bootstrap
from pip._internal.cli.main import main as pip_entry_point
File "/tmp/tmpcP1hEo/pip.zip/pip/_internal/cli/main.py", line 60
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Change-Id: I8e1c87c754114d3e6376470de88f7e56619d364c
-rw-r--r-- | bionic-amd64-tf-a-build/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bionic-amd64-tf-a-build/Dockerfile b/bionic-amd64-tf-a-build/Dockerfile index a1c52e0..2f0c43c 100644 --- a/bionic-amd64-tf-a-build/Dockerfile +++ b/bionic-amd64-tf-a-build/Dockerfile @@ -65,7 +65,7 @@ RUN set -e ;\ apt update -q=2 ;\ apt install -q=2 --yes --no-install-recommends git-lfs ;\ # Install Python requirements - curl -s https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py ;\ + curl -s https://bootstrap.pypa.io/3.5/get-pip.py -o /tmp/get-pip.py ;\ python2 /tmp/get-pip.py ;\ pip2 install --no-cache-dir -r /opt/requirements_python2.txt ;\ python3 /tmp/get-pip.py ;\ |