diff options
| author | mo khan <mo.khan@gmail.com> | 2019-09-12 15:49:29 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2019-09-12 16:07:45 -0600 |
| commit | 526a18887f4bfdcf7d34a86cc208520b87859dfc (patch) | |
| tree | 5643ac4d6cc8f77daec2d9cb308a27707427fb0d /Dockerfile | |
| parent | fa7a0dd6496b119b6f143ef8deba177b16f53d1c (diff) | |
Add V2 report
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -22,9 +22,6 @@ 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 @@ -50,5 +47,7 @@ ENV LM_REPORT_VERSION ${LM_REPORT_VERSION:-1} COPY test /test COPY run.sh html2json.js / +COPY . /opt/license-management/ +RUN bash -lc "source /rvm.sh && cd /opt/license-management && gem build *.gemspec && gem install *.gem" ENTRYPOINT ["/run.sh"] |
