A collection of Docker images optimized for Salesforce development and CI/CD workflows.
A full-featured development container for Salesforce development with:
- Node.js 20.x
- Java 17 (OpenJDK)
- Salesforce CLI with plugins
- Zsh with Oh My Zsh and Powerlevel10k
- Development tools and utilities
Docker Hub: gforceinnovation/sf-devcontainer
Usage:
docker pull gforceinnovation/sf-devcontainer:latestA lightweight CI/CD optimized image for Salesforce automation with:
- Node.js 20.x
- Java 17 (OpenJDK)
- Salesforce CLI with essential plugins
- CI/CD utilities (jq, xmlstarlet)
Docker Hub: gforceinnovation/sf-ci
Usage:
docker pull gforceinnovation/sf-ci:latestBuild for your local platform only (faster):
# Build sf-devcontainer
docker build -t sf-devcontainer:local ./sf-devcontainer
# Build sf-ci
docker build -t sf-ci:local ./sf-ciBuild for multiple platforms (Mac ARM64 + Intel/AMD64):
First, create a builder that supports multi-platform builds:
docker buildx create --name multiplatform --use
docker buildx inspect --bootstrapThen build and push to Docker Hub:
# Build and push sf-devcontainer for multiple platforms
docker buildx build \
--platform linux/amd64,linux/arm64 \
--tag gforceinnovation/sf-devcontainer:1.0.1 \
--tag gforceinnovation/sf-devcontainer:latest \
--push \
./sf-devcontainer
# Build and push sf-ci for multiple platforms
docker buildx build \
--platform linux/amd64,linux/arm64 \
--tag gforceinnovation/sf-ci:1.5.0 \
--tag gforceinnovation/sf-ci:latest \
--push \
./sf-ci-ciNote: Multi-platform builds require pushing to a registry. You cannot load multi-platform images directly to your local Docker daemon.
pip install -r tests/requirements.txt
# Run all tests
pytest tests/ -v
# Run tests for a single image
pytest tests/test_sf_ci.py -v
pytest tests/test_sf_devcontainer.py -vImages are automatically built and pushed to Docker Hub when tags are created:
git tag -a v1.0.0 -m "Release v1.0.0"
git push origin v1.0.0This will:
- Build both Docker images
- Push to Docker Hub with version tag and
latest - Generate release notes automatically
MIT