feat: added gosu & updated run.sh to switch to the dedicated user (#1395)

Co-authored-by: Maka0 <360614-Maka0@users.noreply.gitlab.com>
This commit is contained in:
Maka0
2022-08-09 04:39:59 +02:00
committed by GitHub
parent 7ce02c31d5
commit a7c6e89dfa
2 changed files with 19 additions and 7 deletions

View File

@@ -97,7 +97,7 @@ ENV GIT_COMMIT_HASH=$COMMIT
# curl for used by healthcheck
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
curl \
curl gosu \
&& apt-get autoremove \
&& rm -rf /var/lib/apt/lists/*