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 Dec 6, 2023
1 parent 6fb08fb commit 058b3b5
Show file tree
Hide file tree
Showing 2 changed files with 15 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.3] - 2023-12-06

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

## [3.9.2] - 2023-11-30

### Changed
Expand Down
10 changes: 10 additions & 0 deletions full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ 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 \
libffi-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.1 cargo-ledger

Expand Down

0 comments on commit 058b3b5

Please # to comment.