Modernize Docker infrastructure with Alpine 3.20 and CI/CD automation#1
Open
Petrus79 wants to merge 78 commits into
Open
Modernize Docker infrastructure with Alpine 3.20 and CI/CD automation#1Petrus79 wants to merge 78 commits into
Petrus79 wants to merge 78 commits into
Conversation
removed legacy arm32 image
Updated package installation and created a Python virtual environment. Installed specific versions of Python packages inside the virtual environment.
Updated package installation and added a Python virtual environment. Changed versions of several Python packages and ensured scripts inside the virtual environment are runnable.
Comment out the line copying qemu-arm-static to /usr/bin.
Updated pip and installed specific package versions.
Removed build-essential package from Dockerfile.
Added QEMU static binary for ARM emulation and updated package installations.
Removed QEMU static binary addition and adjusted package installation.
Uncomment python3-dev installation and remove unnecessary comments.
Removed commented-out options and unused steps from the Docker image build and push workflow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request: Configurable Docker Build System with Alpine 3.20
Summary
This PR modernizes the Dockerfiles and adds a configuration system for building Docker images. It introduces:
docker.configWhat Changed
New Files
docker.config- Configuration file for pyHPSU repo and Docker Hub registrydocker.config.example- Template documentation.github/workflows/Push-Docker-Images.yml- Automated CI/CD workflowCONFIGURATION.md- User guideModified Dockerfiles (all three architectures)
Key Package Updates:
New GitHub Actions Workflow
docker.config)Setup Instructions
1. Add GitHub Secrets (Required)
Go to Repository Settings → Secrets and variables → Actions
Add these two secrets:
DOCKER_USERNAME= your Docker Hub usernameDOCKER_HUB= your Docker Hub personal access token2. Configure Repository (Optional)
Edit
docker.configif you need custom repositories:3. That's It!
Push to main branch and GitHub Actions will:
Detailed Documentation
CONFIGURATION.mdCONFIGURATION.md→ Advanced sectionTesting Checklist
Backward Compatibility
✅ Fully compatible - default config uses original repository URLs