bitcoin-header-node
bitcoin-header-node copied to clipboard
Update Dockerfile
I had a few issues when trying to build the Dockerfile, however the changes here fixed the issue.
second change of Dockerfile is more a hotfix, still need to change the PATH
Sorry for the delay in response. Could you describe in more detail the problem you were seeing?
When I try to build the Dockerfile, i got the following issue:
=> [base 4/6] COPY package.json yarn.lock /code/ 0.1s
=> [base 5/6] COPY bin /code/bin 0.1s
=> [base 6/6] COPY lib /code/lib 0.1s
=> ERROR [build 1/2] RUN apk upgrade --no-cache && apk add --no-cache git python make g++ bash && npm insta 5.6s
------
> [build 1/2] RUN apk upgrade --no-cache && apk add --no-cache git python make g++ bash && npm install -g -s --no-progress yarn:
#11 0.338 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
#11 1.212 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
#11 2.707 OK: 7 MiB in 16 packages
#11 2.748 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
#11 3.686 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
#11 5.564 ERROR: unable to select packages:
#11 5.607 python (no such package):
#11 5.607 required by: world[python]
------
executor failed running [/bin/sh -c apk upgrade --no-cache && apk add --no-cache git python make g++ bash && npm install -g -s --no-progress yarn]: exit code: 1
therfore i updated the Dockerfile and push it, can you try to Build the Dockerfile from the Master and test, if you got the same error?