Skip to content

Commit

Permalink
full : add ledgerctl (it is a dependency of cargo ledger)
Browse files Browse the repository at this point in the history
  • Loading branch information
agrojean-ledger committed Oct 12, 2023
1 parent 18aeb18 commit 214b7a6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.9.0] - 2023-10-12

### Added
- Add ledgerctl to full image so that we can use cargo ledger sideload and apdu dump features.

## [3.8.0] - 2023-10-09

### Added
Expand Down
9 changes: 9 additions & 0 deletions full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ RUN rustup target add thumbv6m-none-eabi --toolchain $RUST_NIGHTLY_VERSION
# Adding rust-src component to nightly channel
RUN rustup component add rust-src --toolchain $RUST_NIGHTLY_VERSION

# Python packages building dependencies, can be removed afterwards
RUN apk add -t python_build_deps python3-dev

# Install ledgerctl, which is used by cargo ledger for loading or dumping an APDU app file.
RUN pip3 install git+https://github.com/LedgerHQ/ledgerctl

# Cleanup, remove packages that aren't needed anymore
RUN apk del python_build_deps

# Add cargo ledger (needs a version of Rust >= 1.70)
RUN cargo +$RUST_STABLE_VERSION install --locked --git=https://github.com/LedgerHQ/cargo-ledger.git --rev 1.1.0 cargo-ledger

Expand Down

0 comments on commit 214b7a6

Please sign in to comment.