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
2
2
3
3
USER esp
4
4
ENV USER=esp
5
5
6
6
# Install extra crates
7
7
RUN 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" && \
10
10
curl -L "https://github.com/SergioGasquez/rnamer/releases/latest/download/rnamer-x86_64-unknown-linux-gnu" -o "${HOME}/.cargo/bin/rnamer" && \
11
11
chmod u+x "${HOME}/.cargo/bin/rnamer"
12
12
@@ -18,12 +18,8 @@ RUN esp-generate --headless --chip=esp32h2 rust-project-esp32h2
18
18
RUN esp-generate --headless --chip=esp32s2 rust-project-esp32s2
19
19
RUN esp-generate --headless --chip=esp32s3 rust-project-esp32s3
20
20
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
-
24
21
# Copy utility scripts and setup
25
22
COPY compile.sh /home/esp/
26
- COPY config.toml /home/esp/
27
23
28
24
RUN mkdir -p /home/esp/build-in /home/esp/build-out
29
25
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments