summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPhilippe Lafoucrière <plafoucriere@gitlab.com>2018-09-30 14:26:10 +0000
committerPhilippe Lafoucrière <plafoucriere@gitlab.com>2018-09-30 14:26:10 +0000
commit9552ddbbdfad2d25ab2a782d0db4427474ebd493 (patch)
treef00af23206c9ed0df7d81953c1e11c636dae7fe8 /README.md
parent630a463f0f99c08d3395d9016185c23523ed1842 (diff)
parent5fbcf066e63ac2d8df775054423b596549891e1c (diff)
Merge branch 'master' into 'master'
Use SETUP_CMD to bypass package manager auto-detection See merge request gitlab-org/security-products/license-management!7
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index d58ebf8..ea4ecbd 100644
--- a/README.md
+++ b/README.md
@@ -56,6 +56,17 @@ The following table shows which languages and package managers are supported.
| Python | [pip](https://pip.pypa.io/en/stable/) |
| Ruby | [gem](https://rubygems.org/) |
+Inject `SETUP_CMD` to the docker command to override the given package managers
+and run your custom command to setup your environment with a custom package manager.
+
+ ```sh
+ docker run \
+ --volume "$PWD":/code \
+ --env "SETUP_CMD=./my-custom-install-script.sh" \
+ --rm \
+ registry.gitlab.com/gitlab-org/security-products/license-management:latest analyze /code
+ ```
+
## Versioning and release process