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 Ivan Grokhotkov
parent 40f3cc4a34
commit be0372b1db

View File

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