Skip to content

Commit

Permalink
Merge pull request MaterializeInc#22357 from alex-hunt-materialize/ti…
Browse files Browse the repository at this point in the history
…ni_balancerd

tini and materialize user for balancerd
  • Loading branch information
alex-hunt-materialize authored Oct 12, 2023
2 parents 8810227 + 5d48ecf commit 83e2171
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions misc/images/balancerd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@
MZFROM ubuntu-base

RUN apt-get update \
&& apt-get -qy install ca-certificates
&& TZ=UTC DEBIAN_FRONTEND=noninteractive apt-get -qy install \
ca-certificates \
tini \
&& groupadd --system --gid=999 materialize \
&& useradd --system --gid=999 --uid=999 --create-home materialize

COPY mz-balancerd /usr/local/bin/balancerd

ENTRYPOINT ["balancerd"]
USER materialize

ENTRYPOINT ["tini", "--", "balancerd"]

0 comments on commit 83e2171

Please sign in to comment.