-
Notifications
You must be signed in to change notification settings - Fork 2.6k
fix: Fixes #13071 change order of ldd command and update ./docker/README.md #13072
Conversation
docker/README.md
Outdated
@@ -12,6 +12,13 @@ You should refer to the .Dockerfile for the actual list. At the time of editing, | |||
- node-template | |||
- chain-spec-builder | |||
|
|||
> Warning: Currently the pre-built image [`parity/substrate:latest`](https://hub.docker.com/layers/paritytech/substrate/latest/images/sha256-d1be27ff2a93d7de49a5ef9449b4e7aa5f479d9d03f808ec34bf2e8cea89cdc4?context=explore) is outdated and uses `substrate 3.0.0-dev-ea387c63471`. The entrypoint it uses is `ENTRYPOINT ["/usr/local/bin/substrate"]` so it only supports running that old Substrate binary and to use the image you need to provide options to it in the Docker run command but without passing the Substrate binary (i.e. `docker run --rm -it parity/substrate --version`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is that conveying?
I think we should remove this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes if the user follows the instructions and runs ./build.sh
before running the docker run ...
commands then it'll build an image and a container with the latest substrate.
but if they forget to run the ./build.sh
step (by not following the instructions, although that's unlikely..) then it'll fetch that old substrate image parity/substrate:latest from docker hub that is 3 years old, and they may not realise they're not using the latest version until it doesn't function as intended, which may lead to confusion.
do you think it would be worth perhaps changing it to > Note: If you do not first run the build.sh script to generate the parity/substrate image before using the
docker run command to create a container based on that image name, then it will instead fetch a pre-generated version of that image that may not be the latest version.
? or just remove it?
is there a reason why that parity/substrate:latest doesn't have the latest version like the image ci-linux:production?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i've pushed a commit removing the warning, i think it's sufficient to expect users to follow the instructions
Hey, is anyone still working on this? Due to the inactivity this issue has been automatically marked as stale. It will be closed if no further activity occurs. Thank you for your contributions. |
…docker/README.md (paritytech#13072) * fixes paritytech#13071 * remove warning
…docker/README.md (paritytech#13072) * fixes paritytech#13071 * remove warning
Description: You added a brief description of the PR, e.g.:
Refer to Issue substrate_builder.Dockerfile error
ldd: not found
and outdated ./docker/README.md #13071Removes all the binaries after using the
ldd
command, otherwise if it's done the other way around theldd
command no longer exists. Also updated the associated README.mdRelated Issues: You mentioned a related issue if this PR is related to it, e.g.
Fixes #228
orRelated #1337
.2 Reviewers: You asked at least two reviewers to review. If you aren't sure, start with GH suggestions.
@bkchr @ggwpez
Style Guide: Your PR adheres to the style guide