blackjid / hassio-build

:tractor: Hass.io build tools

Home Page:https://home-assistant.io/hassio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 python3-setuptools

About

:tractor: Hass.io build tools

https://home-assistant.io/hassio/

License:Apache License 2.0


Languages

Language:Shell 40.9%Language:PowerShell 38.8%Language:HTML 20.2%Language:Nginx 0.2%