diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-11-25 16:59:52 +0100 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-11-25 17:00:42 +0100 |
commit | 4883251c820cbedf73fd6576d52f29a8d18fa6ef (patch) | |
tree | 8b3ef438a1eacbe6804f7d300d25e0febc3e1656 /Dockerfile | |
parent | 5cf723cf9f7a887961093c56e25d3c4269fc201b (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-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |