File tree Expand file tree Collapse file tree 2 files changed +3
-20
lines changed Expand file tree Collapse file tree 2 files changed +3
-20
lines changed Original file line number Diff line number Diff line change 1- FROM espressif/idf-rust:all_1.82 .0.3
1+ FROM espressif/idf-rust:all_1.84 .0.0
22
33USER esp
44ENV USER=esp
55
66# Install extra crates
77RUN cargo install cargo-audit && \
8- # Using the git argument until a new version which contains https://github.com/esp-rs/esp-generate/pull/62 is released
9- cargo install esp-generate --git https://github.com/esp-rs /esp-generate && \
8+ curl -L " https://github.com/esp-rs/esp-generate/releases/latest/download/esp-generate-x86_64-unknown-linux-gnu" -o "${HOME}/.cargo/bin/esp-generate" && \
9+ chmod u+x "${HOME}/.cargo/bin /esp-generate" && \
1010 curl -L "https://github.com/SergioGasquez/rnamer/releases/latest/download/rnamer-x86_64-unknown-linux-gnu" -o "${HOME}/.cargo/bin/rnamer" && \
1111 chmod u+x "${HOME}/.cargo/bin/rnamer"
1212
@@ -18,12 +18,8 @@ RUN esp-generate --headless --chip=esp32h2 rust-project-esp32h2
1818RUN esp-generate --headless --chip=esp32s2 rust-project-esp32s2
1919RUN esp-generate --headless --chip=esp32s3 rust-project-esp32s3
2020
21- # Add alloc to the build-std property
22- RUN find . -name "config.toml" -type f -exec sed -i 's/build-std = \[ "core"\] /build-std = \[ "alloc", "core"\] /g' {} +
23-
2421# Copy utility scripts and setup
2522COPY compile.sh /home/esp/
26- COPY config.toml /home/esp/
2723
2824RUN mkdir -p /home/esp/build-in /home/esp/build-out
2925
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments