blob: 07b2a704a31f91a20c80ded3aad4b46f1f7bee45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
set -e
cd "$(dirname "$0")/.."
IMAGE_NAME=${IMAGE_NAME:-$(basename "$PWD"):latest}
root_dir=/builds/gitlab-org/security-products/analyzers/license-finder
docker run --rm -it \
--entrypoint='bash' \
--network=host \
--env=RUBYLIB="${root_dir}/lib" \
--workdir="${root_dir}" \
--volume "$PWD":"${root_dir}" \
"$IMAGE_NAME" -l
|