bitcoin-header-node icon indicating copy to clipboard operation
bitcoin-header-node copied to clipboard

Update Dockerfile

Open Root-DE opened this issue 3 years ago • 3 comments

I had a few issues when trying to build the Dockerfile, however the changes here fixed the issue.

Root-DE avatar Apr 18 '21 13:04 Root-DE

second change of Dockerfile is more a hotfix, still need to change the PATH

Root-DE avatar Apr 18 '21 17:04 Root-DE

Sorry for the delay in response. Could you describe in more detail the problem you were seeing?

bucko13 avatar Apr 26 '21 03:04 bucko13

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?

Root-DE avatar Apr 27 '21 15:04 Root-DE