summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-10-26 15:21:53 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-10-26 15:23:14 +0100
commit59d9ada5a6fd7f0f01b9f9a2cc864eec9582b76a (patch)
tree47bbafcf1186d5497f1381e553fcf2009669cf5d
parentfab844e4f305341037a540cb772132ec0c786656 (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
-rw-r--r--Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 5717b34..eba2aba 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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