summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorTetiana Chupryna <tchupryna@gitlab.com>2019-03-05 17:34:13 +0000
committerFabien Catteau <fcatteau@gitlab.com>2019-03-05 17:34:13 +0000
commit108e2cad4af6cd43fba40324a42dfb9591a3b546 (patch)
tree78d8b5f831572624fa74de349ad92d4460b5403a /Dockerfile
parent2ecd63bbde311f5f4f1acb6d94312c929370f082 (diff)
Use only one version everywhere
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 6 insertions, 1 deletions
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