Shrink the docker image for the SDK by 57% (#3224)

* Shrink the docker image for the SDK by 57%

Wiping out the `/tmp` dir after installing the SDK does wonders.

@associahedron I wonder if we should do this in the assistant?

* Update release notes
This commit is contained in:
Martin Huschenbett 2019-10-18 14:45:09 +02:00 committed by mergify[bot]
parent 9b71bf03ea
commit dcf1ab9e5a
2 changed files with 2 additions and 1 deletions

View File

@ -3,5 +3,5 @@ RUN apk add curl bash
ARG VERSION
RUN addgroup -S daml && adduser -S daml -G daml
USER daml
RUN curl https://get.daml.com | sh -s $VERSION
RUN curl https://get.daml.com | sh -s $VERSION && rm -rf /tmp/*
ENV PATH="/home/daml/.daml/bin:${PATH}"

View File

@ -17,3 +17,4 @@ HEAD — ongoing
+ [DAML Triggers -Experimental] The trigger runner now logs output from ``trace``, ``error`` and
failed command completions and hides internal debugging output.
+ [Sandbox] The maximum allowed TTL for commands is now configurable via the ``--max-ttl-seconds`` parameter, for example: ``daml sandbox --max-ttl-seconds 300``.
+ [DAML SDK] Shrink docker image containing the full DAML SDK from 2.8 GB to 1.2 GB.