diff options
| author | Gilbert Roulot <groulot@gitlab.com> | 2018-06-06 15:21:06 +0000 |
|---|---|---|
| committer | Olivier Gonzalez <ogonzalez@gitlab.com> | 2018-06-06 15:21:06 +0000 |
| commit | 4d9048a99a9824ab7cb719771699a92c582b5bf2 (patch) | |
| tree | b950fc5b6e4f636208d56280dc03fa5b283ed8b4 /Dockerfile | |
| parent | d706bac7750c57bf9092c9d2c9ef177ff5b8503f (diff) | |
First version
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9ff5519 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM licensefinder/license_finder:5.1.0 +MAINTAINER GitLab + +RUN npm install npm-install-peers cheerio + +# Don't let Rubygem fail with the numerous projects using PG or MySQL +RUN apt-get update && apt-get install -y libpq-dev libmysqlclient-dev && rm -rf /var/lib/apt/lists/* + +COPY run.sh html2json.js / +COPY test /test + +# Don't load RVM automatically, it doesn't work with GitLab-CI +RUN mv /etc/profile.d/rvm.sh /rvm.sh + +ENTRYPOINT ["/run.sh"] |
