chiark / gitweb /
Use non-root user when using docker
authorFredrik Fornwall <fredrik@fornwall.net>
Sun, 22 Jan 2017 22:13:48 +0000 (23:13 +0100)
committerFredrik Fornwall <fredrik@fornwall.net>
Sun, 22 Jan 2017 22:13:48 +0000 (23:13 +0100)
commite59984067b5a2530ef1afeeaa24161a6242e0c73
treef8bb93b14419a14307cb68f431d08f39e77c1b34
parent71430aa64e5287398bc8e3bd563eb9b7ecb9c493
Use non-root user when using docker

We now use a non-root user when building packages using a docker
container. This allows detecting misconfigured packages which try
to install files outside of $TERMUX_PREFIX or otherwise mess with
the system during a build.
scripts/Dockerfile
scripts/run-docker.sh