Skip to content

Blockscout

Error from docker container

docker

Unable to build Dockerfile · Issue #4023 · blockscout/blockscout · GitHub

docker build --file docker/Dockerfile .

BlockScout Requirements

sudo apt-get install -y elixir postgresql automake libtool  inotify-tools make g++ cargo libgmp3-dev

Scratchpad

export DATABASE_URL=postgresql://user:password@localhost:5432/blockscout
export ETHEREUM_JSONRPC_VARIANT=ganache
export ETHEREUM_JSONRPC_HTTP_URL=http://localhost:8545
export COIN=SWMIO
make start

mix do deps.get, local.rebar --force, deps.compile, compile

Troubleshooting

Mix%20Could%20not%20compile%20dependency%20:keccakf1600%20%C2%B7%20Issue%20#2447%20%C2%B7%20blockscout/blockscout%20%C2%B7%20GitHub%5D(https://github.com/blockscout/blockscout/issues/2447%7C(Mix)%20Could%20not%20compile%20dependency%20:keccakf1600%20%C2%B7%20Issue%20#2447%20%C2%B7%20blockscout/blockscout%20%C2%B7%20GitHub%5D(https://github.com/blockscout/blockscout/issues/2447%7C(Mix)%20Could%20not%20compile%20dependency%20:keccakf1600%20%C2%B7%20Issue%20#2447%20%C2%B7%20blockscout/blockscout%20%C2%B7%20GitHub) Mix%20Could%20not%20compile%20dependency%20:keccakf1600%20%C2%B7%20Issue%20#604%20%C2%B7%20blockscout/blockscout%20%C2%B7%20GitHub%5D(https://github.com/blockscout/blockscout/issues/604%7C(Mix)%20Could%20not%20compile%20dependency%20:keccakf1600%20%C2%B7%20Issue%20#604%20%C2%B7%20blockscout/blockscout%20%C2%B7%20GitHub%5D(https://github.com/blockscout/blockscout/issues/604%7C(Mix)%20Could%20not%20compile%20dependency%20:keccakf1600%20%C2%B7%20Issue%20#604%20%C2%B7%20blockscout/blockscout%20%C2%B7%20GitHub)

rm -rf _build/ deps/
git checkout v3.3.2-beta
mix do deps.get, local.rebar --force, deps.compile, compile
cd deps
git clone https://github.com/ayrat555/ex_keccak
rm -rf keccakf1600
mv ex_keccak keccakf1600