Skip to content

Commit

Permalink
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies
Browse files Browse the repository at this point in the history
It was not possible to run xtensa-esp32-elf-gdb from container due to
missing libpython2.7 library.

Merges #5817
Closes #5284
  • Loading branch information
MartinStej authored and espressif-bot committed Oct 13, 2020
1 parent e849a77 commit 304ed67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 304ed67

Please sign in to comment.