From fab844e4f305341037a540cb772132ec0c786656 Mon Sep 17 00:00:00 2001 From: Krzysztof Opasiak Date: Fri, 16 Oct 2020 22:37:24 +0200 Subject: Add consul Dockerfile Don't try to upgrade, just try to create a new Docker image which is as close to the current one as possible but just don't require any command to be run as root Issue-ID: DCAEGEN2-2424 Change-Id: Ib311fa13d574fc6a9f28682ecdb43e40c1795514 Signed-off-by: Krzysztof Opasiak --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5717b34 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +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 + +RUN apk update && apk add jq + +ENTRYPOINT /usr/local/bin/docker-entrypoint.sh \ No newline at end of file -- cgit 1.2.3-korg