diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-10-26 15:21:53 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-10-26 15:23:14 +0100 |
commit | 59d9ada5a6fd7f0f01b9f9a2cc864eec9582b76a (patch) | |
tree | 47bbafcf1186d5497f1381e553fcf2009669cf5d /Dockerfile | |
parent | fab844e4f305341037a540cb772132ec0c786656 (diff) |
Lower the number of layers2.0.0
Also use "--no-cache" option in order to retrieve the packages.
Issue-ID: DCAEGEN2-2424
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I1094372801f152ae9d227849c1a03ababbef2139
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -2,8 +2,7 @@ FROM consul:1.0.6 RUN cd /consul \ && curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl \ - && chmod +x kubectl + && chmod +x kubectl \ + && apk add --no-cache jq -RUN apk update && apk add jq - -ENTRYPOINT /usr/local/bin/docker-entrypoint.sh
\ No newline at end of file +ENTRYPOINT /usr/local/bin/docker-entrypoint.sh |