summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: b6b1e80b2cc7be6c7eca72545f817ac51ba9cf74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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, install realpath
RUN apt-get update && apt-get install -y libpq-dev libmysqlclient-dev realpath && 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"]