Continuous Integration

Speculos builder

The Dockerfile build.Dockerfile builds a container with all required dependencies to build speculos:

docker build -f build.Dockerfile -t ghcr.io/ledgerhq/speculos-builder .

The resulting container is pushed on GitHub Packages by the CI and can eventually be used by the CI itself.

The image can also be pushed manually with appropriate credentials:

docker push ghcr.io/ledgerhq/speculos-builder:latest
docker image tag ghcr.io/ledgerhq/speculos-builder:latest ghcr.io/ledgerhq/speculos-builder:$(git rev-parse --short HEAD)
docker push ghcr.io/ledgerhq/speculos-builder:$(git rev-parse --short HEAD)

Speculos

The Dockerfile Dockerfile builds a container with all required dependencies to run speculos from the command-line:

docker build -f Dockerfile -t ghcr.io/ledgerhq/speculos .

This should be done by the CI, which publish the resulting image on GitHub Packages.