From b679c95ddc5bfa9976575998c89dd8be283ed392 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 22 Aug 2022 13:18:26 +0200 Subject: [PATCH] tools: Docker: remove libpython2.7 libpython2.7 was added to the container to allow running GDB built with Python 2.7 support and distributed as part of the cross-compiler toolchain. Now that we have a new release of GDB which works with Python 3.x, the GDB shipped with the cross-compiler is no longer used. Removing libpython2.7 should reduce the image size. This reverts commit be0372b1db36d2cb7d94e4baafb1772ea6e38452. --- tools/docker/Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 73ae8e0a8e..447cb76f84 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -2,7 +2,6 @@ FROM ubuntu:20.04 ARG DEBIAN_FRONTEND=noninteractive -# We need libpython2.7 due to GDB tools RUN : \ && apt-get update \ && apt-get install -y \ @@ -20,7 +19,6 @@ RUN : \ libbsd-dev \ libffi-dev \ libncurses-dev \ - libpython2.7 \ libusb-1.0-0-dev \ make \ ninja-build \