aboutsummaryrefslogtreecommitdiff
path: root/bionic-amd64-tf-m-build/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'bionic-amd64-tf-m-build/Dockerfile')
-rw-r--r--bionic-amd64-tf-m-build/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/bionic-amd64-tf-m-build/Dockerfile b/bionic-amd64-tf-m-build/Dockerfile
index 057d963..39f4eeb 100644
--- a/bionic-amd64-tf-m-build/Dockerfile
+++ b/bionic-amd64-tf-m-build/Dockerfile
@@ -53,6 +53,8 @@ RUN set -e ;\
pip2 install --no-cache-dir -r /opt/requirements_python2.txt ;\
python3 /tmp/get-pip.py ;\
pip3 install --no-cache-dir -r /opt/requirements_python3.txt ;\
+ # Set Python 3 as default
+ ln -s -f /usr/bin/python3 /usr/bin/python ;\
# Setup buildslave user for Jenkins
useradd -m -s /bin/bash buildslave ;\
echo "buildslave:$BUILDSLAVE_PASSWORD" | chpasswd ;\