diff options
| author | mo khan <mo@mokhan.ca> | 2019-08-15 10:54:48 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2019-08-15 11:08:16 -0600 |
| commit | d57e616015f96681f8c3cf2ce36bdd85a24e2163 (patch) | |
| tree | 935866b3ec0337d459cc701cb375d563a5d03d3f /Dockerfile | |
| parent | 19f8fdcd8b2351daf220e3a3a456db84dd661280 (diff) | |
insert shim to generate report via ruby API
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -22,6 +22,9 @@ RUN apt-get update && \ libpq-dev libmysqlclient-dev realpath python3-dev python3-pip && \ rm -rf /var/lib/apt/lists/* +COPY . /opt/license-management/ +RUN bash -lc "cd /opt/license-management && gem build *.gemspec && gem install *.gem" + # Don't load RVM automatically, it doesn't work with GitLab-CI RUN mv /etc/profile.d/rvm.sh /rvm.sh @@ -43,6 +46,7 @@ RUN pip3 install --disable-pip-version-check setuptools==$SETUPTOOLS_VERSION && # Version of Python, defaults to Python 2.7 ARG LM_PYTHON_VERSION ENV LM_PYTHON_VERSION ${LM_PYTHON_VERSION:-2.7} +ENV LM_REPORT_VERSION ${LM_REPORT_VERSION:-1} COPY test /test COPY run.sh html2json.js / |
