mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 03:07:14 +00:00
Update create_hassio_addon.markdown
This commit is contained in:
parent
ead411f265
commit
15ac0048c2
@ -9,7 +9,7 @@ sharing: true
|
|||||||
footer: true
|
footer: true
|
||||||
---
|
---
|
||||||
|
|
||||||
Addon
|
Add-ons are docker container they run a script and do some things. User are able to set a add-on specific options.
|
||||||
|
|
||||||
### {% linkable_title Add-on folder %}
|
### {% linkable_title Add-on folder %}
|
||||||
|
|
||||||
@ -20,9 +20,10 @@ addon_name:
|
|||||||
run.sh
|
run.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
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:
|
All add-ons are based on Alpine Linux 3.5. You can use `FROM %%BASE_IMAGE%%` inside your docker file to build the right arch or for automatic build with our scripts.
|
||||||
|
|
||||||
```docker
|
Your Docker need also a env variable `VERSION` with the version of the add-on. With our build system include this line:
|
||||||
|
```
|
||||||
ENV VERSION %%VERSION%%
|
ENV VERSION %%VERSION%%
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user