use bullseye base image

This commit is contained in:
Wolfgang Hottgenroth 2022-12-04 20:27:32 +01:00
parent 5fd0b78907
commit a661af08d6
Signed by: wn
GPG Key ID: 836E9E1192A6B132

View File

@ -1,4 +1,4 @@
FROM registry.hottis.de/dockerized/base-build-env:1.3.0
FROM registry.hottis.de/dockerized/base-build-env:1.5.3-bullseye
LABEL Maintainer="Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>"
LABEL ImageName="registry.hottis.de/dockerized/build-env-esp32"
@ -7,16 +7,14 @@ ARG Esp32CloneUrl=https://github.com/espressif/esp-idf.git
ARG ESP_RELEASE=release/v5.0
ARG UID="1000"
ARG GID="1000"
ENV USER esp32
ENV USER esp
RUN \
apt update && \
apt upgrade && \
apt upgrade -y && \
apt install -y git wget flex bison gperf python3 python3-venv cmake \
ninja-build ccache libffi-dev libssl-dev dfu-util \
libusb-1.0-0 python3-pip && \
update-alternatives --install /usr/bin/python python /usr/bin/python3 10 && \
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10 && \
groupadd -r -g $GID $USER && \
useradd -m -r -u $UID -g $USER -G dialout $USER