1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2025-12-24 04:18:30 +00:00
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