Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

Update Plug Node information #5

Closed
3 tasks
jordy25519 opened this issue Oct 22, 2019 · 0 comments · Fixed by #15
Closed
3 tasks

Update Plug Node information #5

jordy25519 opened this issue Oct 22, 2019 · 0 comments · Fixed by #15
Assignees
Labels
good first issue Good for newcomers

Comments

@jordy25519
Copy link
Contributor

jordy25519 commented Oct 22, 2019

Update node info and binary name for Plug

See: cennznet/plug-blockchain#55 (comment)

Also:

  • Update the binary and package name to plug

    name = "substrate"

    name = "substrate"

  • Update Dockerfile

    useradd -m -u 1000 -U -s /bin/sh -d /substrate substrate
    COPY --from=builder /substrate/target/$PROFILE/substrate /usr/local/bin
    # checks
    RUN ldd /usr/local/bin/substrate && \
    /usr/local/bin/substrate --version
    # Shrinking
    RUN rm -rf /usr/lib/python* && \
    rm -rf /usr/bin /usr/sbin /usr/share/man
    USER substrate
    EXPOSE 30333 9933 9944
    VOLUME ["/data"]
    CMD ["/usr/local/bin/substrate"]

  • "plug-node"

    impl_name: create_runtime_str!("substrate-node"),

Maybe add some sweet ascii art too?

________________/\\\\\\_______/\\\________________        
 _______________\////\\\______/\\/\\_______________       
  ___/\\\\\\\\\_____\/\\\_____/\\\//\\___/\\\\\\\\__      
   __/\\\/////\\\____\/\\\____\//__\//___/\\\////\\\_     
    _\/\\\\\\\\\\_____\/\\\______________\//\\\\\\\\\_    
     _\/\\\//////______\/\\\_______________\///////\\\_   
      _\/\\\____________\/\\\_______________/\\_____\\\_  
       _\/\\\__________/\\\\\\\\\___________\//\\\\\\\\__ 
        _\///__________\/////////_____________\////////___
@jordy25519 jordy25519 added the good first issue Good for newcomers label Oct 22, 2019
@jordy25519 jordy25519 added this to the plug milestone Oct 31, 2019
@hoani hoani self-assigned this Nov 4, 2019
@hoani hoani closed this as completed in #15 Nov 5, 2019
AndrewHaslamPF pushed a commit that referenced this issue Nov 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants