summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-10-16 22:37:24 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2020-10-16 22:39:24 +0200
commitfab844e4f305341037a540cb772132ec0c786656 (patch)
tree648cdea48ddcaeff9399303960f88ac490a9865c /Dockerfile
parentb370f9d5def1bb67cfd962c5ac84d5c40bb139dc (diff)
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 <k.opasiak@samsung.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 9 insertions, 0 deletions
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