You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Emil Bay c3fd455ae8 Document git tags 6 years ago
bin Initial commit 7 years ago
.gitignore Add tests 7 years ago
.travis.yml Add tests 7 years ago
Dockerfile Set BOLOS version through env var 6 years ago
LICENSE Initial commit 7 years ago
README.md Document git tags 6 years ago
demo.svg Add demo animation 7 years ago
test Add tests 7 years ago

README.md

docker-ledger-sdk

Build Status Docker Pulls

Build a Ledger app with one command

A fully pre-configured Ledger SDK build environment.

Usage

To run make in your ~/code/my-ledger-app project dir:

docker run -v ~/code/my-ledger-app:/code lukechilds/ledger-sdk

If you're already in your project dir you can just do:

docker run -v ${PWD}:/code lukechilds/ledger-sdk

To run an arbitrary command in your project dir:

docker run -v ${PWD}:/code lukechilds/ledger-sdk 'make clean'

The following environment variables can be set to customise the build (here shown with defaults):

docker run \
	-e "BOLOS_ENV=/opt/bolos-env" \ # Where to store custom compiler tooling
	-e "BOLOS_SDK=/opt/bolos-sdk" \ # Where to store the BOLOS SDK itself
	-e "BOLOS_VERSION=nanos-1421" \ # Git tag for BOLOS version
	-v ${PWD}:/code lukechilds/ledger-sdk

License

MIT © Luke Childs