1
- ARG VARIANT=bullseye
1
+ ARG VARIANT=bookworm-slim
2
2
FROM debian:${VARIANT}
3
3
ENV DEBIAN_FRONTEND=noninteractive
4
4
ENV LC_ALL=C.UTF-8
@@ -12,8 +12,8 @@ ARG GITHUB_TOKEN
12
12
13
13
# Install dependencies
14
14
RUN apt-get update \
15
- && apt-get install -y git curl gcc clang ninja-build libudev-dev unzip xz-utils\
16
- python3 python3-pip python3-venv libusb-1.0-0 libssl-dev pkg-config libpython2.7 \
15
+ && apt-get install -y pkg-config curl gcc clang libudev-dev unzip xz-utils \
16
+ git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0 \
17
17
&& apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts
18
18
19
19
# Set users
@@ -36,11 +36,15 @@ RUN ARCH=$($HOME/.cargo/bin/rustup show | grep "Default host" | sed -e 's/.* //'
36
36
unzip "${HOME}/.cargo/bin/cargo-espflash.zip" -d "${HOME}/.cargo/bin/" && \
37
37
rm "${HOME}/.cargo/bin/cargo-espflash.zip" && \
38
38
chmod u+x "${HOME}/.cargo/bin/cargo-espflash" && \
39
+ curl -L "https://github.com/esp-rs/espflash/releases/latest/download/espflash-${ARCH}.zip" -o "${HOME}/.cargo/bin/espflash.zip" && \
40
+ unzip "${HOME}/.cargo/bin/espflash.zip" -d "${HOME}/.cargo/bin/" && \
41
+ rm "${HOME}/.cargo/bin/espflash.zip" && \
42
+ chmod u+x "${HOME}/.cargo/bin/espflash" && \
39
43
curl -L "https://github.com/esp-rs/embuild/releases/latest/download/ldproxy-${ARCH}.zip" -o "${HOME}/.cargo/bin/ldproxy.zip" && \
40
44
unzip "${HOME}/.cargo/bin/ldproxy.zip" -d "${HOME}/.cargo/bin/" && \
41
45
rm "${HOME}/.cargo/bin/ldproxy.zip" && \
42
46
chmod u+x "${HOME}/.cargo/bin/ldproxy" && \
43
- curl -L "https://github.com/bjoernQ /esp-web-flash-server/releases/latest/download/web-flash-${ARCH}.zip" -o "${HOME}/.cargo/bin/web-flash.zip" && \
47
+ curl -L "https://github.com/esp-rs /esp-web-flash-server/releases/latest/download/web-flash-${ARCH}.zip" -o "${HOME}/.cargo/bin/web-flash.zip" && \
44
48
unzip "${HOME}/.cargo/bin/web-flash.zip" -d "${HOME}/.cargo/bin/" && \
45
49
rm "${HOME}/.cargo/bin/web-flash.zip" && \
46
50
chmod u+x "${HOME}/.cargo/bin/web-flash"
0 commit comments