mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-08 18:06:29 +00:00
use ghcr image in addon development (#2544)
The docker hub images seem extremely outdated
This commit is contained in:
parent
2e7cb67bdc
commit
aebf093200
@ -42,16 +42,16 @@ docker run \
|
|||||||
|
|
||||||
If you don't want to use the official build tool, you can still build with standalone Docker. If you use `FROM $BUILD_FROM` you'll need to set a base image with build args. Normally you can use following base images:
|
If you don't want to use the official build tool, you can still build with standalone Docker. If you use `FROM $BUILD_FROM` you'll need to set a base image with build args. Normally you can use following base images:
|
||||||
|
|
||||||
- armhf: `homeassistant/armhf-base:latest`
|
- armhf: `ghcr.io/home-assistant/armhf-base:latest`
|
||||||
- aarch64: `homeassistant/aarch64-base:latest`
|
- aarch64: `ghcr.io/home-assistant/aarch64-base:latest`
|
||||||
- amd64: `homeassistant/amd64-base:latest`
|
- amd64: `ghcr.io/home-assistant/amd64-base:latest`
|
||||||
- i386: `homeassistant/i386-base:latest`
|
- i386: `ghcr.io/home-assistant/i386-base:latest`
|
||||||
|
|
||||||
Use `docker` from the directory containing the add-on files to build the test addon:
|
Use `docker` from the directory containing the add-on files to build the test addon:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker build \
|
docker build \
|
||||||
--build-arg BUILD_FROM="homeassistant/amd64-base:latest" \
|
--build-arg BUILD_FROM="ghcr.io/home-assistant/amd64-base:latest" \
|
||||||
-t local/my-test-addon \
|
-t local/my-test-addon \
|
||||||
.
|
.
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user