Skip to content

Custom solana-validator dockerfile, ci flow for building docker images #1608

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

Closed
wants to merge 16 commits into from

Conversation

scheibinger
Copy link
Collaborator

@scheibinger scheibinger commented Jan 28, 2025


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes introduce a GitHub Actions workflow and a Dockerfile to automate the build and push process for a Solana validator image, accommodating both amd64 and arm64 architectures. This automation is necessary to streamline the deployment and testing of Solana validators, particularly to support environments that require arm64 compatibility, such as Apple's M1/M2 chips and AWS Graviton instances.

What

  • .github/workflows/sol-validator-build-push.yaml:
    • Added a new GitHub Actions workflow to build and push Solana validator images for both amd64 and arm64 architectures.
    • Configured workflow triggers and environment variables.
    • Included steps for checking out the code, configuring AWS credentials, logging into Amazon ECR, setting up Docker Buildx, downloading CCIP artifacts, and building and pushing the Docker images.
  • images/solana-validator/Dockerfile:
    • Created a new Dockerfile to build a Solana validator image from the agave source.
    • Defined base and builder stages to install dependencies, build the Solana validator and solana binaries, and prepare the final image.
  • images/solana-validator/README.md:
    • Added a README file explaining the purpose of the custom Solana validator image and its support for both amd64 and arm64 architectures.
    • Highlighted the necessity for arm64 support for compatibility with recent hardware and cloud instances.

@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
3 Security Hotspots

See analysis details on SonarQube

@smickovskid smickovskid deployed to ecr-prod-publish March 13, 2025 18:56 — with GitHub Actions Active
@skudasov
Copy link
Collaborator

skudasov commented Jun 5, 2025

JFYI @smickovskid , I think it's no longer needed and we switched priorities, but feel free to reopen if needed.

@skudasov skudasov closed this Jun 5, 2025
@scheibinger scheibinger reopened this Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants