mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-19 06:04:21 +01:00
Merge pull request #30 from home-assistant/master
Merge master to build
This commit is contained in:
10
README.md
10
README.md
@@ -1,9 +1,9 @@
|
|||||||
# hassio-addons
|
# hassio-addons
|
||||||
Docker addons for HassIO
|
### Docker addons for HassIO
|
||||||
|
|
||||||
All PRs need to be `build` branch!
|
All PRs need to be against the `build` branch!
|
||||||
|
|
||||||
[HassIO](https://github.com/pvizeli/hassio) | [HassIO-Build](https://github.com/pvizeli/hassio-build)
|
[HassIO](https://github.com/home-assistant/hassio) | [HassIO-Build](https://github.com/home-assistant/hassio-build)
|
||||||
|
|
||||||
## Addon folder
|
## Addon folder
|
||||||
|
|
||||||
@@ -15,13 +15,13 @@ addon_name:
|
|||||||
run.sh
|
run.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Use `FROM %%BASE_IMAGE%%` inside your docker file. We use alpine linux 3.5 for addons. It need also a this line:
|
All add-ons are based off Alpine Linux 3.5. To get the macine specific version, use `FROM %%BASE_IMAGE%%` inside your docker file. Your Docker file also needs to include this line:
|
||||||
|
|
||||||
```docker
|
```docker
|
||||||
ENV VERSION %%VERSION%%
|
ENV VERSION %%VERSION%%
|
||||||
```
|
```
|
||||||
|
|
||||||
You should use bash scripts for simple stuff inside docker to hold the image small.
|
As a user might run many add-ons, it is encouraged to try to stick to Bash scripts if you're doing simple things.
|
||||||
|
|
||||||
## Addon config
|
## Addon config
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user