sfp Docker Images
sfp provides Docker images through our self-hosted Gitea registry at source.flxbl.io. These pre-built images are maintained and updated regularly with the latest features and security patches.
Prerequisites
- Access to source.flxbl.io (Gitea server)
- Docker installed on your machine
- Registry credentials from your welcome email
Accessing the Images
- Login to the Gitea registry:
docker login source.flxbl.io -u your-username- Pull the desired image:
The version numbers can be found at https://source.flxbl.io/flxbl/-/packages/container/sfp-pro/
# For base sfp-pro image
docker pull source.flxbl.io/sfp-pro-lite:version
# For sfp-pro with SF CLI
docker pull source.flxbl.io/sfp-pro:version- (Optional) Tag for your registry:
# Tag for your registry
docker tag source.flxbl.io/sfp-pro:version your-registry/sfp-pro:version
# Push to your registry
docker push your-registry/sfp-pro:versionBest Practices
- Use specific version tags in production
- Cache images in your private registry for better performance
- Implement proper access controls in your registry
- Document image versions used in your pipelines
Building Docker Images
If you need to build the images yourself, you can access the source code from source.flxbl.io and follow these instructions:
Prerequisites
- Docker with BuildKit support
- GitHub Personal Access Token with
packages:readpermissions - Node.js (for local development)
Building the Base Image (sfp-pro-lite)
# Create a file containing your GITEA token
echo "YOUR_GITEA_TOKEN" > .npmrc.token
# Build the base sfp-pro image (without SF CLI)
docker buildx build \
--secret id=npm_token,src=.npmrc.token \
--build-arg NODE_MAJOR=22 \
--file dockerfiles/sfp-pro-lite.Dockerfile \
--tag sfp-pro-lite:local .
# Remove the token file
rm .npmrc.tokenBuilding the Image with SF CLI Bundled (sfp-pro)
# Create a file containing your GITEA token
echo "YOUR_GITEA_TOKEN" > .npmrc.token
# Build the sfp-pro image with SF CLI bundled
docker buildx build \
--secret id=npm_token,src=.npmrc.token \
--build-arg NODE_MAJOR=22 \
--file dockerfiles/sfp-pro.Dockerfile \
--tag sfp-pro:local .
# Remove the token file
rm .npmrc.tokenBuild Arguments
The following build arguments are supported:
NODE_MAJOR: Node.js major version (default: 22)SFP_VERSION: Version of SFP Pro to buildGIT_COMMIT: Git commit hash for versioningSF_COMMIT_ID: Salesforce commit ID
Support
For issues or questions about Docker images, please contact flxbl support through your designated support channels.