Lint hostapp.sh and robust umount (#406)

* Lint hostapp.sh and robust umount

* Update hostapp.sh

* Update Dockerfile

* Update Dockerfile

* Update hassos.mk

* Update hostapp.sh

* Update Dockerfile

* Update hassos.mk

* Update hostapp.sh

* Update hdd-image.sh

* Update entry.sh
This commit is contained in:
Pascal Vizeli
2019-05-14 23:22:48 +02:00
committed by GitHub
parent d5e6cc78d5
commit 1febb31647
5 changed files with 44 additions and 18 deletions

View File

@@ -9,7 +9,8 @@ dockerd -s vfs &> /dev/null &
# Setup local user
if [ "${BUILDER_UID:0}" -ne 0 ] && [ "${BUILDER_GID:0}" -ne 0 ]; then
groupadd -g "${BUILDER_GID}" builder
useradd -m -u "${BUILDER_UID}" -g "${BUILDER_GID}" -G docker builder
useradd -m -u "${BUILDER_UID}" -g "${BUILDER_GID}" -G docker,sudo builder
echo "builder ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
USER="builder"
fi