/hassio-build

:tractor: Hass.io build tools

Primary LanguageShellApache License 2.0Apache-2.0

Build environment for Hass.io

This repository contains the relevant files to build Hass.io. For the add-ons please check the Hass.io-Addons repository.

Build Server

You need a Linux system with AUFS and Docker support. You need to have the build user in the docker group that he can run Docker. It is not possible to run this process as root! You need also to install jq.

Builds are published on: https://hub.docker.com/r/homeassistant/

Build env

  • yocto-build-env: Allow us to build yocto resinos images
  • docker-build-env: Allow us to build docker image for all archs
  • resinhup-build: Create docker image for inplace update perform
  • resinos-build: Create image for SD and docker for inplace update
  • hassio-supervisor: Create our supervisor update
  • homeassistant: Create docker image with homeassistant

Create a server

First install Ubuntu server 16.04.

Follow install instruction from Docker to install it: https://docs.docker.com/engine/installation/linux/ubuntu/

After that move the builder user into docker group.

$ sudo groupadd docker
$ sudo gpasswd -a ${USER} docker
$ sudo service docker restart
$ newgrp docker

Other software:

$ sudo apt-get install jq pigz git python3-setuptools