hafnium: Add python package (FDT)
Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org>
Change-Id: Ie8ec3231fd98d51892294f14332c1b424ad2fe96
diff --git a/bionic-amd64-hafnium/Dockerfile b/bionic-amd64-hafnium/Dockerfile
index c9bd057..a8c52e4 100644
--- a/bionic-amd64-hafnium/Dockerfile
+++ b/bionic-amd64-hafnium/Dockerfile
@@ -34,6 +34,12 @@
RUN set -e ;\
apt update -q=2 ;\
apt install -q=2 --yes --no-install-recommends ${PKG_DEPS} ;\
+ # Install Python requirements
+ curl -s https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py ;\
+ python3 /tmp/get-pip.py ;\
+ pip3 install --no-cache-dir fdt==0.3.0 ;\
+ # 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 ;\