User Tools

Site Tools


public:home_assistant

This is an old revision of the document!


Current_measurement

Home Assistant on 32bit

OPOP Integration

Seriál Home Assistant a domácí automatizace

Home Assistant on 32bit arm

Home Assistant Docker Cache
Home Assistant Docker No Cache

1. Zapněte podporu QEMU v Dockeru

docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

2. Vytvořte čistý Buildx Builder (Doporučeno)

# Odstranění starého builderu (pokud existuje)
docker buildx rm bpi-builder || true

# Vytvoření a aktivace nového
docker buildx create --use --name bpi-builder
docker buildx inspect --bootstrap

3. Spusťte build znovu s parametrem platformy for non cache:

sudo docker buildx build --platform linux/arm/v7 --build-arg BUILD_FROM="ghcr.io/home-assistant/armv7-homeassistant-base:latest" --build-arg BUILD_ARCH="armhf" --file Dockerfile --no-cache -t local-qemuarm-homeassistant:latest .

for cache:

mkdir -p .buildx-cache

sudo docker buildx build --platform linux/arm/v7 --build-arg BUILD_FROM="ghcr.io/home-assistant/armv7-homeassistant-base:latest" --build-arg BUILD_ARCH="armhf" --file Dockerfile --cache-from type=local,src=.buildx-cache --cache-to type=local,dest=.buildx-cache,mode=max -t local-qemuarm-homeassistant:latest --load .
public/home_assistant.1792995317.txt.gz · Last modified: by lukas