Build Multi-Platform Docker Image
CommunityBuild Docker images for multiple platforms
Authorfuturetea
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the process of building Docker images that are compatible with multiple CPU architectures (like amd64 and arm64), ensuring your applications can run on a wider range of hardware. It also streamlines the optional step of pushing these images to a Docker registry.
Core Features & Use Cases
- Multi-Platform Builds: Creates Docker images for
linux/amd64andlinux/arm64simultaneously usingdocker buildx. - Image Tagging: Supports
latest,master-head, and custom tags for versioning. - Registry Push: Optionally pushes the built image to Docker Hub.
- Prerequisite Checks: Validates Docker,
buildx, and Docker Hub authentication before building. - Use Case: A developer needs to build a Docker image for a new microservice that will be deployed on both standard servers (amd64) and ARM-based devices (like Raspberry Pi). This Skill ensures the image is built correctly for both architectures.
Quick Start
Build the 'bookworm' image with the 'latest' tag and push it to Docker Hub.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Build Multi-Platform Docker Image Download link: https://github.com/futuretea/bci/archive/main.zip#build-multi-platform-docker-image Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.