diff options
| author | mo khan <mo.khan@gmail.com> | 2020-03-12 16:06:44 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-03-12 16:06:44 -0600 |
| commit | 01c558c3809a584dccee42527ba0ddfd731e255d (patch) | |
| tree | d39486bd4b90f82378b4797b29b9880f76445cb9 /Dockerfile | |
| parent | 1b22d8e623d0ecd1fd977dd098f39a78c81a7db4 (diff) | |
Install the latest index in the docker image
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,6 @@ FROM alpine:latest WORKDIR /scan -ENV PACKAGES build-base bash ruby ruby-dev git libxml2-dev openssl-dev +ENV PACKAGES build-base bash ruby ruby-dev ruby-json git libxml2-dev openssl-dev COPY . /opt/spandx/ RUN apk update && \ apk add $PACKAGES && \ @@ -8,6 +8,7 @@ RUN apk update && \ cd /opt/spandx/ && \ gem build *.gemspec && \ gem install --no-document *.gem && \ + spandx index update && \ rm -r /root/.gem && \ rm -fr /var/cache/apk/* VOLUME /scan |
