-
Notifications
You must be signed in to change notification settings - Fork 0
Add pre-configured Docker images for ETC networks and nightly builds #291
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 pre-configured Docker images for ETC networks and nightly builds #291
Conversation
Co-authored-by: realcodywburns <13103499+realcodywburns@users.noreply.github.com>
Co-authored-by: realcodywburns <13103499+realcodywburns@users.noreply.github.com>
Co-authored-by: realcodywburns <13103499+realcodywburns@users.noreply.github.com>
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.
Pull Request Overview
This PR adds network-specific Docker images and nightly build automation for the Fukuii Ethereum client. It introduces pre-configured Docker images for ETC mainnet, Mordor testnet, and Mordor testnet mining, along with a nightly build workflow to provide daily automated builds.
- Network-specific Dockerfiles created for mainnet, mordor testnet, and mordor testnet mining configurations
- Nightly build workflow added to automatically build all images daily at midnight UTC
- Docker workflow extended to build network-specific images in addition to standard images
- Comprehensive documentation added to docker/README.md covering the new images and workflows
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| docker/Dockerfile.mainnet | New Dockerfile pre-configured for Ethereum Classic mainnet with FUKUII_NETWORK=etc |
| docker/Dockerfile.mordor | New Dockerfile pre-configured for Mordor testnet with FUKUII_NETWORK=mordor |
| docker/Dockerfile.mordor-miner | New Dockerfile for Mordor testnet with mining enabled by default, includes mining configuration |
| .github/workflows/nightly.yml | New workflow for daily automated builds of all images with nightly tags |
| .github/workflows/docker.yml | Extended to build network-specific images (mainnet, mordor, mordor-miner) and whitespace cleanup |
| docker/README.md | Added comprehensive documentation for network-specific images and nightly build workflow |
| README.md | Added workflow status badges for docker and nightly builds |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| [](https://github.com/chippr-robotics/fukuii/actions/workflows/docker.yml) | ||
| [](https://github.com/chippr-robotics/fukuii/actions/workflows/nightly.yml) |
Copilot
AI
Nov 4, 2025
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.
Inconsistent repository names in badge URLs. The CI badge uses 'chordodes_fukuii' while the Docker Build and Nightly Build badges use 'fukuii'. These should all reference the same repository for consistency.
| [](https://github.com/chippr-robotics/fukuii/actions/workflows/docker.yml) | |
| [](https://github.com/chippr-robotics/fukuii/actions/workflows/nightly.yml) | |
| [](https://github.com/chippr-robotics/chordodes_fukuii/actions/workflows/docker.yml) | |
| [](https://github.com/chippr-robotics/chordodes_fukuii/actions/workflows/nightly.yml) |
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.
'chordodes_fukuii' is incorrect, 'fukuii' is actually correct
docker/Dockerfile.mainnet
Outdated
| unzip \ | ||
| && echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | tee /etc/apt/sources.list.d/sbt.list && \ | ||
| echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | tee /etc/apt/sources.list.d/sbt_old.list && \ | ||
| curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add && \ |
Copilot
AI
Nov 4, 2025
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.
The command 'apt-key add' is used without specifying '-' to explicitly read from stdin, which could lead to ambiguous behavior. Use 'apt-key add -' for clarity and to follow best practices.
| curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add && \ | |
| curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add - && \ |
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.
Fixed in 7521e41. Added explicit stdin (-) to apt-key add command for clarity and best practices.
docker/Dockerfile.mordor
Outdated
| unzip \ | ||
| && echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | tee /etc/apt/sources.list.d/sbt.list && \ | ||
| echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | tee /etc/apt/sources.list.d/sbt_old.list && \ | ||
| curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add && \ |
Copilot
AI
Nov 4, 2025
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.
The command 'apt-key add' is used without specifying '-' to explicitly read from stdin, which could lead to ambiguous behavior. Use 'apt-key add -' for clarity and to follow best practices.
| curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add && \ | |
| curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add - && \ |
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.
Fixed in 7521e41. Added explicit stdin (-) to apt-key add command for clarity and best practices.
docker/Dockerfile.mordor-miner
Outdated
| unzip \ | ||
| && echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | tee /etc/apt/sources.list.d/sbt.list && \ | ||
| echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | tee /etc/apt/sources.list.d/sbt_old.list && \ | ||
| curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add && \ |
Copilot
AI
Nov 4, 2025
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.
The command 'apt-key add' is used without specifying '-' to explicitly read from stdin, which could lead to ambiguous behavior. Use 'apt-key add -' for clarity and to follow best practices.
| curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add && \ | |
| curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add - && \ |
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.
Fixed in 7521e41. Added explicit stdin (-) to apt-key add command for clarity and best practices.
docker/README.md
Outdated
|
|
||
| **Tags Generated:** | ||
| - `nightly` - Always points to the latest nightly build | ||
| - `nightly-YYYYMMDD` - Specific nightly build date (e.g., `nightly-20231115`) |
Copilot
AI
Nov 4, 2025
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.
[nitpick] The example date '20231115' (November 15, 2023) is in the past. Consider using a more recent or generic example date, or use a placeholder like 'nightly-20250115' to better reflect current usage.
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.
Fixed in 7521e41. Updated example date from 2023 to 2025 (nightly-20250115).
docker/README.md
Outdated
| docker pull chipprbots/fukuii-mainnet:nightly | ||
| # Pull specific nightly build | ||
| docker pull chipprbots/fukuii-mordor-miner:nightly-20231115 |
Copilot
AI
Nov 4, 2025
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.
[nitpick] The example date '20231115' (November 15, 2023) is in the past. Consider using a more recent or generic example date to better reflect current usage patterns.
| docker pull chipprbots/fukuii-mordor-miner:nightly-20231115 | |
| docker pull chipprbots/fukuii-mordor-miner:nightly-YYYYMMDD |
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.
Fixed in 7521e41. Updated example date from 2023 to 2025 (nightly-20250115).
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: realcodywburns <13103499+realcodywburns@users.noreply.github.com>
Implementation of Docker container pipelines for ETC networks - COMPLETE ✅
Summary of Changes
✅ Network-Specific Docker Images Created
✅ GitHub Actions Workflows
✅ Documentation & Badges
✅ Quality Assurance
apt-key add -)What This Enables
docker run chipprbots/fukuii-mainnet:latestdocker run chipprbots/fukuii-mordor:latestdocker run chipprbots/fukuii-mordor-miner:latest -Dfukuii.mining.coinbase=YOUR_ADDRESSSecurity Notes
Ready for Merge
All requirements from the issue have been completed and validated.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.