Use --no-cache for Alpine to minimize footprint

Using `apk add --no-cache tini` instead of `apk add --update tini` avoids caching and reduces the size of the resulting container. See here: https://github.com/gliderlabs/docker-alpine/blob/master/docs/usage.md#disabling-cache
pull/89/head
Dominik Horb 8 years ago committed by Thomas Orozco
parent e96fb184ea
commit 21c118c0e9
  1. 2
      README.md
  2. 2
      tpl/README.md.in

@ -96,7 +96,7 @@ your package manager):
On Alpine Linux, you can use the following command to install Tini:
RUN apk add --update tini
RUN apk add --no-cache tini
# Tini is now available at /sbin/tini
ENTRYPOINT ["/sbin/tini", "--"]

@ -96,7 +96,7 @@ your package manager):
On Alpine Linux, you can use the following command to install Tini:
RUN apk add --update tini
RUN apk add --no-cache tini
# Tini is now available at /sbin/tini
ENTRYPOINT ["/sbin/tini", "--"]

Loading…
Cancel
Save