fix in dependencies, fix Dockerfile

This commit is contained in:
2022-12-04 20:22:13 +01:00
parent 1adbc9dda1
commit 5fd0b78907

View File

@ -11,9 +11,10 @@ ENV USER esp32
RUN \ RUN \
apt update && \ apt update && \
apt upgrade && \
apt install -y git wget flex bison gperf python3 python3-venv cmake \ apt install -y git wget flex bison gperf python3 python3-venv cmake \
ninja-build ccache libffi-dev libssl-dev dfu-util \ ninja-build ccache libffi-dev libssl-dev dfu-util \
libusb-1.0-0 && \ libusb-1.0-0 python3-pip && \
update-alternatives --install /usr/bin/python python /usr/bin/python3 10 && \ update-alternatives --install /usr/bin/python python /usr/bin/python3 10 && \
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10 && \ update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10 && \
groupadd -r -g $GID $USER && \ groupadd -r -g $GID $USER && \