Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

avisi-cloud/trojansourcedetector-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker trojansourcedetector

Docker image build for trojansourcedetector, with examples for Gitlab CI.

GitHub Workflow Status

Table of Contents

Usage

Images

  • docker pull ghcr.io/avisi-cloud/trojansourcedetector:1.0.1

Configuration

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"
  ]
}

Examples

Gitlab CI

trojansource-detector:
   image: ghcr.io/avisi-cloud/trojansourcedetector:1.0.1
   script:
     - trojansourcedetector -config=/home/trojansourcedetector/config.json

Docker run

docker run -v $(pwd):/build ghcr.io/avisi-cloud/trojansourcedetector:1.0.1 

Automated build

This image is build at least once a month automatically.

Contribute

PRs accepted. All issues should be reported in the Github issue tracker.

License

MIT © Avisi Cloud

About

trojansourcedetector in Docker for Gitlab CI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages