Files
operating-system/scripts/enter.sh
Pascal Vizeli e8d14bdc60 Support build as user (#405)
* Support build as user

* Update enter.sh

* Update Dockerfile

* Update enter.sh

* Update entry.sh
2019-05-14 01:16:40 +02:00

9 lines
244 B
Bash
Executable File

#!/bin/bash
modprobe overlayfs
docker build -t hassbuildroot .
docker run -it --rm --privileged \
-v "$(pwd):/build" -v "${CACHE_DIR:=$HOME/hassos-cache}:/cache" \
-e BUILDER_UID="$(id -u)" -e BUILDER_GID="$(id -g)" \
hassbuildroot bash