build.Dockerfile builds a container with all required dependencies to build speculos:
docker build -f build.Dockerfile -t ledgerhq/speculos-builder .
The resulting container is pushed on Docker Hub (by Ledger employees, obviously):
docker push ledgerhq/speculos-builder:latest docker image tag ledgerhq/speculos-builder:latest ledgerhq/speculos-builder:$(git rev-parse --short HEAD) docker push ledgerhq/speculos-builder:$(git rev-parse --short HEAD)
This container can eventually be used by the CI.
Dockerfile builds a container with all required dependencies to run speculos from the command-line:
docker build -f Dockerfile -t ledgerhq/speculos .
This should be done by the CI, which publish the resulting image on Docker Hub.