-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a Dockerfile that is able to build and run Substrate #2301
Comments
Why is it not using the parity linux image like here https://github.com/paritytech/polkadot-sdk/blob/master/substrate/docker/substrate_builder.Dockerfile ? |
I suggest setup devcontainer integration https://code.visualstudio.com/docs/devcontainers/create-dev-container https://github.com/AcalaNetwork/Acala/tree/master/.devcontainer |
I had some issues I didn't know how to solve while building with that image that's why I didn't include it. The Dockerfile I provided in the description works well by building the image and is even able to connect to it, however I get a weird error in the end when trying to send the transaction that looks like this:
|
Update this build runs fine: Commands
Dockerfile
|
To sum up it is able to run And gets this weird error, when trying to do a transaction:
|
I think we used to have such an image but it was not used and probably got removed. It was also no dev container per say. The closest image we have this the You can see it is based on |
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
…tytech#2301) Store accepted justifications in events.
if i use the latest ci-linux:production that is 10 months old and uses
so i think it should be updated to the latest Rust nightly that supports the polkadot-sdk. |
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Motivation
As a developer interested in using the
polkadot-sdk
for Substrate development and making it accessible for more people, I find that the process of setting up and configuring the environment to be somewhat complex, especially for newcomers. Having a Dockerfile that can build and run Substrate would streamline the development process, making it more accessible and efficient.Request
I propose the creation of a Dockerfile within the
polkadot-sdk
repository, which would handle the following:This Dockerfile would abstract the complexity of environment setup and provide a straightforward path to getting Substrate running in a containerized environment.
Thank you for considering this request.
Solution
Something like this?
Dockerfile:
Are you willing to help with this request?
Yes!
The text was updated successfully, but these errors were encountered: