diff options
| author | mo khan <mo.khan@gmail.com> | 2020-03-02 09:11:37 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-03-02 09:11:37 -0700 |
| commit | 20d610837c4504c570cc76143e7b128fb41fc000 (patch) | |
| tree | 3f3ebd140cd641873ac2414cca85c43cf8ae34bc /Dockerfile | |
| parent | b5c6b0a5f96613c8944c18ffab261b0799b92d8b (diff) | |
Compress /opt/asdf to shrink image
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ RUN apt-get update -q \ FROM ${TOOLS_IMAGE} ENV LM_HOME=/opt/license-management COPY --from=gem-builder /opt/license-management/*.gem $LM_HOME/ -RUN bash -lc 'gem install "$LM_HOME/*.gem"' +RUN cd /opt/ && tar --use-compress-program zstd -xvf /opt/asdf.tar.zst && bash -lc 'gem install "$LM_HOME/*.gem"' && rm -fr /opt/asdf COPY test /test COPY run.sh / ENTRYPOINT ["/run.sh"] |
