tools/docker: Add libpython2.7 in order to satisfy GDB dependencies

It was not possible to run xtensa-esp32-elf-gdb from container due to
missing libpython2.7 library.

Merges https://github.com/espressif/esp-idf/pull/5817
Closes https://github.com/espressif/esp-idf/issues/5284
This commit is contained in:
Martin Stejskal 2020-09-01 20:50:00 +02:00 committed by bot
parent 65517844f7
commit c9427ea613

View File

@ -2,6 +2,7 @@ FROM ubuntu:18.04
ARG DEBIAN_FRONTEND=noninteractive
# We need libpython2.7 due to GDB tools
RUN apt-get update && apt-get install -y \
apt-utils \
bison \
@ -17,6 +18,7 @@ RUN apt-get update && apt-get install -y \
libusb-1.0-0-dev \
make \
ninja-build \
libpython2.7 \
python3 \
python3-pip \
unzip \