Docker image build for trojansourcedetector, with examples for Gitlab CI.
- docker pull ghcr.io/avisi-cloud/trojansourcedetector:1.0.1
See the trojansourcedetector documentation.
Usage of /usr/local/bin/trojansourcedetector:
-config string
JSON file containing the configuration. (default ".trojansourcedetector.json")
By default, we use the following config.json file:
{
"directory": ".",
"exclude": [".git/*", ".git/*/*", ".git/*/*/*"],
"parallelism": 10,
"detect_bidi": true,
"extensions": [
".c",
".csx",
".cpp",
".go",
".h",
".java",
".js",
".kt",
".py",
".rs",
".ts"
]
}
trojansource-detector:
image: ghcr.io/avisi-cloud/trojansourcedetector:1.0.1
script:
- trojansourcedetector -config=/home/trojansourcedetector/config.json
docker run -v $(pwd):/build ghcr.io/avisi-cloud/trojansourcedetector:1.0.1
This image is build at least once a month automatically.
PRs accepted. All issues should be reported in the Github issue tracker.