input-output-hk / project-icarus-importer

Icarus, a reference implementation for a lightweight wallet developed by the IOHK Engineering Team.
Other
13 stars 10 forks source link

How to build a docker image? #8

Closed gutenye closed 5 years ago

gutenye commented 5 years ago

From the docker-compose.yaml, it said TODO: push to docker hub.

How can I build the docker image locally?

mirkoAlic commented 5 years ago

Guys @Profpatsch, @gdeest, would you give some output here please?

Profpatsch commented 5 years ago

You need to build it with nix for now:

nix-build -A dockerImages.testnetBlockchainImporter --out-link cardano-container-testnet-image.tar.gz importer/default.nix
$ docker load -i cardano-container-testnet-image.tar.gz

The build is going to take a while (about 30–60 minutes on my laptop).

gutenye commented 5 years ago

@Profpatsch Thanks, will try it. I'm going to mark it as resolved.