diff --git a/containers/rust/Containerfile b/containers/rust/Containerfile index b0680bb..e9c23b0 100644 --- a/containers/rust/Containerfile +++ b/containers/rust/Containerfile @@ -4,5 +4,9 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y RUN . '/home/user/.cargo/env' && rustup component add rust-analyzer # Raspberry Pi Pico tools -RUN cargo install elf2uf2-rs --locked -RUN rustup target add thumbv6m-none-eabi +RUN sudo dnf install -y \ + systemd-devel \ + pkg-config \ + && dnf clean all +RUN . "$HOME/.cargo/env" && cargo install elf2uf2-rs --locked +RUN . "$HOME/.cargo/env" && rustup target add thumbv6m-none-eabi