aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Copeland <ben.copeland@linaro.org>2021-01-06 11:11:26 +0000
committerBenjamin Copeland <ben.copeland@linaro.org>2021-01-06 11:17:25 +0000
commit73e9b61c541cf62d708d82511ed7feb9f4e3fc31 (patch)
treef16675c2eb55f847e6989b0308fdfefc1704679b
parent06a58ecaa72dd75aaa556da0bb57dd2a93e6474f (diff)
downloaddockerfiles-73e9b61c541cf62d708d82511ed7feb9f4e3fc31.tar.gz
hafnium: Add python package (FDT)
Signed-off-by: Benjamin Copeland <ben.copeland@linaro.org> Change-Id: Ie8ec3231fd98d51892294f14332c1b424ad2fe96
-rw-r--r--bionic-amd64-hafnium/Dockerfile6
1 files changed, 6 insertions, 0 deletions
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 @@ COPY setup-sshd /usr/sbin/setup-sshd
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 ;\