From 4883251c820cbedf73fd6576d52f29a8d18fa6ef Mon Sep 17 00:00:00 2001 From: Krzysztof Opasiak Date: Wed, 25 Nov 2020 16:59:52 +0100 Subject: Allow consul to be started as non-root 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 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Dockerfile') 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 -- cgit 1.2.3-korg