- Minibox is a tiny docker image that includes CommandBox, Java and an OS (Alpine Linux)
- It is only 78mb (can probably shrink it a bit more too)
- This small size makes it great for quick execution scenarios, eg CI tools, Tasks
- Fixinator Docker Image - minbox + fixinator command installeed
- CFML CI Tools - minbox + fixinator, cflint, cfml-compiler, codechecker
- CFML CI Examples - uses minibox in serveral ways with Github Actions
- Fixinator Github Action - a github action built using minibox to scan your CFML code for security issues.
docker run -it foundeo/minibox box version
docker run -it foundeo/minibox box
docker run -it -v /web/temp/fixinator-demo/:/code -e FIXINATOR_API_KEY=$FIXINATOR_API_KEY foundeo/fixinator:latest box fixinator path=/code
This example requires a volume to scan the code
docker run -it -v /local/code/:/code foundeo/minibox:latest box task run taskFile=/code/task.cfc
See the example Dockerfile
and docker-compose.yml
and task.cfc
Then run:
docker-compose up
See: https://github.com/foundeo/minibox-examples/blob/master/.github/workflows/task.yml