Skip to content

Commit

Permalink
hive-config users: Do create /run/secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
gbenson committed Oct 8, 2024
1 parent 64aff45 commit 9a80594
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion services/email-receiver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ RUN set -eux \
\
&& addgroup --system --gid 1936 hivemail \
&& adduser --system --uid 1936 --gid 1936 \
--home /var/lib/hivemail --disabled-password hivemail
--home /var/lib/hivemail --disabled-password hivemail \
&& install -d -oroot -ghivemail -m710 /run/secrets

USER hivemail:hivemail
WORKDIR /var/lib/hivemail
Expand Down
7 changes: 4 additions & 3 deletions services/matrix-connector/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ RUN set -eux \

RUN set -eux \
\
&& addgroup --system --gid 6617 matrix \
&& addgroup --system --gid 6617 hivetrix \
&& adduser --system --uid 6617 --gid 6617 \
--home /var/lib/matrix --disabled-password matrix \
--home /var/lib/matrix --disabled-password hivetrix \
&& install -d -oroot -ghivetrix -m710 /run/secrets

USER matrix:matrix
USER hivetrix:hivetrix
WORKDIR /var/lib/matrix
3 changes: 2 additions & 1 deletion services/reading-list-updater/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ RUN set -eux \
\
&& addgroup --system --gid 5491 readlist \
&& adduser --system --uid 5491 --gid 5491 \
--home /var/lib/readlist --disabled-password readlist
--home /var/lib/readlist --disabled-password readlist \
&& install -d -oroot -greadlist -m710 /run/secrets

USER readlist:readlist
WORKDIR /var/lib/readlist
Expand Down

0 comments on commit 9a80594

Please sign in to comment.