mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-12-24 04:18:30 +00:00
* Support build as user * Update enter.sh * Update Dockerfile * Update enter.sh * Update entry.sh
9 lines
244 B
Bash
Executable File
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
|