From 59d9ada5a6fd7f0f01b9f9a2cc864eec9582b76a Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Mon, 26 Oct 2020 15:21:53 +0100 Subject: Lower the number of layers Also use "--no-cache" option in order to retrieve the packages. Issue-ID: DCAEGEN2-2424 Signed-off-by: Sylvain Desbureaux Change-Id: I1094372801f152ae9d227849c1a03ababbef2139 --- Dockerfile | 7 +++---- 1 file 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 -- cgit 1.2.3-korg