summaryrefslogtreecommitdiff
path: root/util/docker
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2020-10-25 15:09:44 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-10-27 10:06:17 +0000
commitb86d2b09354a5a27dec0e73221ca7b4c794976bd (patch)
tree64f23e7e69cec4a08e0922fc06869997d1c29781 /util/docker
parentbd8e6dd2ca99f3ba79f1474a3afe0c518b504d44 (diff)
downloadcoreboot-b86d2b09354a5a27dec0e73221ca7b4c794976bd.tar.xz
util/docker: Update coreboot-sdk to set python2 as default
Even though both python2 and python3 are now installed to the SDK, the default python program is not. This sets the default to python2. Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I4220c316df86cb2481143a79fadb70fc734e6879 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46800 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/docker')
-rw-r--r--util/docker/coreboot-sdk/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/docker/coreboot-sdk/Dockerfile b/util/docker/coreboot-sdk/Dockerfile
index 749b543149..0ae63c8d2c 100644
--- a/util/docker/coreboot-sdk/Dockerfile
+++ b/util/docker/coreboot-sdk/Dockerfile
@@ -79,6 +79,7 @@ RUN \
xz-utils \
zlib1g-dev \
&& apt-get clean \
+ && update-alternatives --install /usr/bin/python python /usr/bin/python2 1 \
&& ln -s /usr/bin/automake /usr/bin/automake-1.15 \
&& ln -s /usr/bin/aclocal /usr/bin/aclocal-1.15