Skip to content
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

Add Dockerfiles to the templates #4637

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Conversation

rzadp
Copy link
Contributor

@rzadp rzadp commented May 29, 2024

As requested here.

The Dockerfiles are inspired by this one.

@rzadp rzadp added the R0-silent Changes should not be mentioned in any release notes label May 29, 2024
@rzadp rzadp requested review from kianenigma and gupnik May 29, 2024 19:52
@rzadp rzadp requested a review from a team May 30, 2024 09:55
Copy link
Contributor

@kianenigma kianenigma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great, is there a way to test these automatically?

@rzadp
Copy link
Contributor Author

rzadp commented May 31, 2024

great, is there a way to test these automatically?

I did a preview run of building this dockerfile on regular GitHub CI in the template repo - so we can have it running there, and it'll be useful for consumers of the template as well.

I'll be able to add this workflow to the templates only after the Dockerfile get synchronized there.

@rzadp rzadp requested a review from kianenigma June 3, 2024 08:11
@rzadp rzadp added this pull request to the merge queue Jun 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Jun 3, 2024
@rzadp rzadp added this pull request to the merge queue Jun 3, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jun 3, 2024
- Addresses
[this](#3155 (comment)).
- Technical content got adopted from the existing [solochain
readme](https://github.com/paritytech/polkadot-sdk/tree/master/templates/solochain).
  - Updated some broken links there.
- The docker instructions will work after
#4637.
- See the [rendered
version](https://github.com/paritytech/polkadot-sdk/blob/rzadp/minimal-template-readme/templates/minimal/README.md).

---------

Co-authored-by: gupnik <nikhilgupta.iitk@gmail.com>
Merged via the queue into master with commit 6ede7a0 Jun 3, 2024
163 of 165 checks passed
@rzadp rzadp deleted the rzadp/template-dockerfiles branch June 3, 2024 11:09
ordian added a commit that referenced this pull request Jun 4, 2024
* master: (106 commits)
  [ci] Delete unused flow (#4676)
  Fix umbrella CI check and fix the C&P message (#4670)
  Add Dockerfiles to the templates (#4637)
  Revamp the Readme of the minimal template (#4649)
  Add chain-spec-builder docker image (#4655)
  Update Amforc bootnodes for Kusama and Polkadot (#4668)
  make all storage items in parachain-system public (#4645)
  [Pools] Refactors and runtime apis for DelegateStake (#4537)
  update amforc westend and its parachain bootnodes (#4641)
  Better error for missing index in CRV2 (#4643)
  Implement `XcmPaymentApi` and `DryRunApi` on all system parachains (#4634)
  Use Unlicense for templates (#4628)
  collator-protocol: remove `elastic-scaling-experimental` feature (#4595)
  Update `runtime_type` ref doc with the new "Associated Type Bounds" (#4624)
  Adds ability to specify chain type in chain-spec-builder (#4542)
  Fix broken windows build (#4636)
  Beefy client generic on aduthority Id (#1816)
  pallet-staking: Put tests behind `cfg(debug_assertions)` (#4620)
  Broker new price adapter (#4521)
  Change `XcmDryRunApi::dry_run_extrinsic` to take a call instead (#4621)
  ...
hitchhooker pushed a commit to ibp-network/polkadot-sdk that referenced this pull request Jun 5, 2024
- Addresses
[this](paritytech#3155 (comment)).
- Technical content got adopted from the existing [solochain
readme](https://github.com/paritytech/polkadot-sdk/tree/master/templates/solochain).
  - Updated some broken links there.
- The docker instructions will work after
paritytech#4637.
- See the [rendered
version](https://github.com/paritytech/polkadot-sdk/blob/rzadp/minimal-template-readme/templates/minimal/README.md).

---------

Co-authored-by: gupnik <nikhilgupta.iitk@gmail.com>
@evilrobot-01
Copy link

FYI: I think the symlink is incorrect, gives me a permission denied when testing.

Correcting it to the binary name seems to resolve - e.g.
ln -s /data /polkadot/.local/share/parachain-template-node && \

@rzadp
Copy link
Contributor Author

rzadp commented Jul 1, 2024

Hey @evilrobot-01, the dockerfile is supposed to be built in the context of the separate template repository: https://github.com/paritytech/polkadot-sdk-minimal-template

Are you doing it this way?

The dockerfile is building correctly on CI: see this PR.

TarekkMA pushed a commit to moonbeam-foundation/polkadot-sdk that referenced this pull request Aug 2, 2024
- Addresses
[this](paritytech#3155 (comment)).
- Technical content got adopted from the existing [solochain
readme](https://github.com/paritytech/polkadot-sdk/tree/master/templates/solochain).
  - Updated some broken links there.
- The docker instructions will work after
paritytech#4637.
- See the [rendered
version](https://github.com/paritytech/polkadot-sdk/blob/rzadp/minimal-template-readme/templates/minimal/README.md).

---------

Co-authored-by: gupnik <nikhilgupta.iitk@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants