terra-money / LocalTerra

One-click local Terra testnet and ecosystem for rapid prototyping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to build localterra-core docker image

athenawisdoms opened this issue · comments

Hello, any idea why I am not able to build the localterra-core docker image using this Dockerfile?

$ git clone https://github.com/terra-money/LocalTerra
$ cd LocalTerra/terracore
$ docker build -t localterra-core .

Sending build context to Docker daemon  48.07MB
Step 1/5 : FROM alpine:latest
 ---> 0ac33e5f5afa
Step 2/5 : WORKDIR /root
 ---> Using cache
 ---> aa3c1742cadd
Step 3/5 : ENV PATH /root/bin:$PATH
 ---> Using cache
 ---> 75efe4f5c54e
Step 4/5 : COPY terrad ./bin/
 ---> Using cache
 ---> d6b64f60ead5
Step 5/5 : RUN terrad init localterra
 ---> Running in 6d7a39321311
/bin/sh: terrad: not found
The command '/bin/sh -c terrad init localterra' returned a non-zero code: 127

I have checked that terrad was copied to /root/bin/, but the RUN line is still failing.

I am using Docker 20.10.16 and Ubuntu 20.04. Thank you!

You need to copy terrad to terracore/terrad from 'make build-linux' in core project