summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Catteau <fcatteau@gitlab.com>2019-03-05 17:34:13 +0000
committerFabien Catteau <fcatteau@gitlab.com>2019-03-05 17:34:13 +0000
commite63b46798e236c155a8f8ed15a7c7a48f2491fde (patch)
tree78d8b5f831572624fa74de349ad92d4460b5403a
parent2ecd63bbde311f5f4f1acb6d94312c929370f082 (diff)
parent108e2cad4af6cd43fba40324a42dfb9591a3b546 (diff)
Merge branch 'update-license-finder' into 'master'
Use only one version everywhere See merge request gitlab-org/security-products/license-management!19
-rw-r--r--CHANGELOG.md4
-rw-r--r--Dockerfile7
-rwxr-xr-xrun.sh2
3 files changed, 11 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 93d0dcb..65acbc0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# GitLab License management changelog
+## v1.2.2
+
+- Bump LicenseFinder to 5.6.2
+
## v1.2.1
- Better support for js npm projects (!14)
diff --git a/Dockerfile b/Dockerfile
index c2f6c33..f21e9e8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,11 @@
-FROM licensefinder/license_finder:5.5.2
+ARG LICENSE_FINDER_VERSION=5.6.2
+
+FROM licensefinder/license_finder:$LICENSE_FINDER_VERSION
MAINTAINER GitLab
+ARG LICENSE_FINDER_VERSION
+ENV LICENSE_FINDER_VERSION $LICENSE_FINDER_VERSION
+
RUN npm install npm-install-peers cheerio
# Don't let Rubygem fail with the numerous projects using PG or MySQL, install realpath
diff --git a/run.sh b/run.sh
index 45fb3ab..aad51a5 100755
--- a/run.sh
+++ b/run.sh
@@ -94,7 +94,7 @@ case "$COMMAND" in
rvm use .
gem install bundler
# We need to install the license_finder gem into this Ruby version too.
- gem install license_finder
+ gem install license_finder -v "$LICENSE_FINDER_VERSION"
fi
# Ignore test and development dependencies.