Install and run commands as user "freetz".

2.0
Icedream 2017-04-08 19:00:15 +02:00
parent 9f9486b38e
commit 1aa3b1f637
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 3 additions and 0 deletions

View File

@ -52,4 +52,7 @@ RUN apt-get update \
# Install freetz source tree
WORKDIR /freetz
RUN useradd -M -d /freetz -U freetz \
&& chown freetz:freetz .
USER freetz
RUN svn checkout -r "${FREETZ_REVISION}" "${FREETZ_SVN_URL}" .