summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-25 16:59:52 +0100
committerKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-25 17:00:42 +0100
commit4883251c820cbedf73fd6576d52f29a8d18fa6ef (patch)
tree8b3ef438a1eacbe6804f7d300d25e0febc3e1656 /Dockerfile
parent5cf723cf9f7a887961093c56e25d3c4269fc201b (diff)
Allow consul to be started as non-root2.1.0
Remove su-exec call to allow our image to be started as a non-root. Issue-ID: OOM-2535 Change-Id: Ic4d7a73c86540ad20e8d37bc8e2070bce8c9ba7f Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index eba2aba..02a09b2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,4 +5,6 @@ RUN cd /consul \
&& chmod +x kubectl \
&& apk add --no-cache jq
+COPY ./docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
+
ENTRYPOINT /usr/local/bin/docker-entrypoint.sh