Site updated at 2017-09-26 09:39:40 UTC

This commit is contained in:
Travis CI 2017-09-26 09:39:41 +00:00
parent cb787ab74e
commit 84c725affe
26 changed files with 66 additions and 66 deletions

View file

@ -97,11 +97,11 @@
<h2><a class="title-link" name="custom-add-ons" href="#custom-add-ons"></a> Custom Add-ons</h2>
<p>You need a Docker Hub account to make your own add-ons. You can build your docker images with docker <code class="highlighter-rouge">build</code> command or use our script that make it simple. Pull our <a href="https://github.com/home-assistant/hassio-build/tree/master/builder">builder docker engine</a> and run one of the following commands.</p>
<p>For a git repository:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code>docker run --rm --privileged -v ~/.docker:/root/docker homeassistant/amd64-builder --all -t addon-folder -r https://github.com/xy/addons -b branchname
<div class="language-bash highlighter-rouge"><pre class="highlight"><code>docker run --rm --privileged -v ~/.docker:/root/.docker homeassistant/amd64-builder --all -t addon-folder -r https://github.com/xy/addons -b branchname
</code></pre>
</div>
<p>For a local repository:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code>docker run --rm --privileged -v ~/.docker:/root/docker -v /my_addon:/data homeassistant/amd64-builder --all -t /data
<div class="language-bash highlighter-rouge"><pre class="highlight"><code>docker run --rm --privileged -v ~/.docker:/root/.docker -v /my_addon:/data homeassistant/amd64-builder --all -t /data
</code></pre>
</div>
</article>