Skip to content

Commit

Permalink
Update NOTES.md (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
agners authored Jun 8, 2021
1 parent 1427d94 commit b681f87
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ all base tools that ESPHome expects as well as platformio
packages for ESP32/ESP8266.

Additionally all packages that can't be easily installed with `pip`
on all platforms but for which an ubuntu apt package exists,
the base images are also used.
on all platforms but for which a Debian package exists, the base
images are also used.

The base image builds on top of `ubuntu:bionic` LTS and not focal fossa
because `arm64v8/ubuntu` focal fossa builds are not working.
The base image builds on top of `debian:buster` (changed from Ubuntu
see #16).

The following docker images are built by this repository:

Expand All @@ -31,12 +31,18 @@ Docker hub. For example for tag `v2.3.2` the images `esphome/esphome-base-amd64:

Next the base image value has to be updated in a couple of places:

- `esphome/.github/workflows/ci-docker.yml`: `base_version=[...]`
- `esphome/.github/workflows/release-dev.yml`: `base_version=[...]`
- `esphome/.github/workflows/release.yml`: `base_version=[...]`
- `esphome/docker/Dockerfile`: `ARG BUILD_FROM=...`
- `esphome/docker/Dockerfile.dev`: `ARG BUILD_FROM=...`
- `esphome/docker/Dockerfile.lint`: `ARG BUILD_FROM=...`
- `hassio/template/config.yaml`: `base_image: [...]`
- `hassio/template/addon_config.yaml`: `base_image: [...]`

The helper script `esphome/script/bump-docker-base-version.py` bumps
all versions in the esphome repository. The base image value in the
hassio repository is used by the Development version add-on. Run the
`hassio/script/generate.py` with the argument `dev` after bumping.

## Caching & Dependency Pinning

Expand Down

0 comments on commit b681f87

Please sign in to comment.