multiversx / mx-deprecated-chain-deep-history

Scripts, docker definitions and utility tools for creating and managing observers with historical lookup support.
MIT License
0 stars 4 forks source link

`docker image build` fails #7

Closed rvignolo closed 1 year ago

rvignolo commented 1 year ago

Hi!

After downloading the repo, on main branch, the following command fails:

docker image build . -t multiversx/deep-history:latest -f ./Dockerfile

with the following error:

[+] Building 113.3s (19/42)
 => [internal] load build definition from Dockerfile                                                                                                       0.0s
 => => transferring dockerfile: 37B                                                                                                                        0.0s
 => [internal] load .dockerignore                                                                                                                          0.0s
 => => transferring context: 2B                                                                                                                            0.0s
 => [internal] load metadata for docker.io/library/ubuntu:22.04                                                                                            0.7s
 => [internal] load metadata for docker.io/library/golang:1.17.6                                                                                           0.7s
 => [builder  1/24] FROM docker.io/library/golang:1.17.6@sha256:fff998d0f7a46baeb15d8478ee909a8237377e07ccf1a8e77d77a32033021d62                           0.0s
 => [internal] load build context                                                                                                                          0.0s
 => => transferring context: 70B                                                                                                                           0.0s
 => [stage-1  1/13] FROM docker.io/library/ubuntu:22.04@sha256:9a0bdde4188b896a372804be2384015e90e3f84906b750c1a53539b585fbbe7f                            0.0s
 => CACHED [stage-1  2/13] RUN apt-get update && apt-get install -y wget python3.10                                                                        0.0s
 => CACHED [builder  2/24] RUN apt-get update && apt-get -y install python3-pip && pip3 install toml                                                       0.0s
 => CACHED [builder  3/24] WORKDIR /workspace                                                                                                              0.0s
 => CACHED [builder  4/24] RUN git clone https://github.com/ElrondNetwork/elrond-config-devnet --branch=D1.3.50.0-hf01 --single-branch --depth=1           0.0s
 => CACHED [builder  5/24] RUN git clone https://github.com/ElrondNetwork/elrond-config-mainnet --branch=v1.3.50.0 --single-branch --depth=1               0.0s
 => CACHED [builder  6/24] WORKDIR /go                                                                                                                     0.0s
 => CACHED [builder  7/24] RUN git clone https://github.com/multiversx/mx-chain-go.git --branch=$(cat /workspace/elrond-config-devnet/binaryVersion | sed  0.0s
 => CACHED [builder  8/24] RUN git clone https://github.com/multiversx/mx-chain-go.git --branch=$(cat /workspace/elrond-config-mainnet/binaryVersion | se  0.0s
 => CACHED [builder  9/24] RUN git clone https://github.com/multiversx/mx-chain-proxy-go.git --branch=v1.1.27 --single-branch --depth=1 mx-chain-proxy-go  0.0s
 => CACHED [builder 10/24] RUN git clone https://github.com/multiversx/mx-chain-proxy-go.git --branch=v1.1.27 --single-branch --depth=1 mx-chain-proxy-go  0.0s
 => CACHED [builder 11/24] WORKDIR /go/mx-chain-go-devnet/cmd/node                                                                                         0.0s
 => ERROR [builder 12/24] RUN go build -i -v -ldflags="-X main.appVersion=$(git describe --tags --long --dirty --always)"                                112.5s

Any ideas?

schimih commented 1 year ago

Hey @rvignolo ,

We're on it. We already have a PR in work for it. Thanks for the HU! :raised_hands:

andreibancioiu commented 1 year ago

Should be fixed in https://github.com/multiversx/mx-chain-deep-history/pull/6.