A Docker Image for CI/CD Salesforce Apex prorjects.
docker pull atsnngs/force-com
cat > envfile.txt <<ENVFILE
[email protected]
SF_PASSWORD=PASSWORD+SECURITY_TOKEN
SF_SERVER=https://xxx-api.salesforce.com
ENVFILE
docker run \
-v $(pwd)/wsdl:/wsdl \
-v $(pwd)/src/classes:/src/classes \
-v $(pwd)/src/triggers:/src/triggers \
--rm \
--env-file envfile.txt \
atsnngs/force-com
.
├── src # Force IDE project sources
│ ├── classes
│ │ └── MyClass.cls
│ └── triggers
│ └── MyTrigger.trigger
│
└── wsdl # Download WSDL files, see refs
├── apex.wsdl
└── enterprise.wsdl