Skip to content

Commit

Permalink
Lock cargo-ledger and ledgerwallet versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
agrojean-ledger committed Dec 11, 2023
1 parent c9f3b17 commit 7c2397e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ 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 ledgerwallet
RUN pip3 install ledgerwallet==0.4.0

# 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 cargo-ledger
RUN cargo +$RUST_STABLE_VERSION install --version 1.2.1 cargo-ledger

# Setup cargo ledger (install JSON target files)
RUN cargo ledger setup
Expand Down
4 changes: 2 additions & 2 deletions legacy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ RUN rustup target add thumbv6m-none-eabi --toolchain $RUST_NIGHTLY_VERSION
RUN rustup component add rust-src --toolchain $RUST_NIGHTLY_VERSION

# Add ledgerwallet python package used by cargo ledger to generate the app APDU file
RUN pip3 install ledgerwallet
RUN pip3 install ledgerwallet==0.4.0

# 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
RUN cargo +$RUST_STABLE_VERSION install --version 1.2.1 cargo-ledger

# Setup cargo ledger (install JSON target files)
RUN cargo ledger setup
Expand Down

0 comments on commit 7c2397e

Please sign in to comment.