Commit graph

135 commits

Author SHA1 Message Date
J. Nick Koston
d394b957d1
Use piwheels for armv7 docker image builds (#5703) 2023-11-09 11:50:08 +13:00
Jc Miñarro
d809c80286
Add Healthcheck to Dockerfile (#5651) 2023-11-03 07:19:43 +13:00
J. Nick Koston
9dfcf801a3
Fix armv7 docker builds (#5630) 2023-10-30 14:07:25 -05:00
J. Nick Koston
8ef743f25e
Update docker base and packages + docker python 3.11 (#5473)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-18 19:33:19 +13:00
Jesse Hills
f4ce8b8b6c
Bump curl to 7.74.0-1.3+deb11u10 (#5517) 2023-10-12 15:52:57 +13:00
Jesse Hills
e09c217fde
Bump docker dependencies (#5501) 2023-10-09 11:13:12 +13:00
Jesse Hills
589b9e10b2
Ensure esphome directory exists on addon startup (#5464) 2023-10-02 13:45:24 +13:00
Jesse Hills
12365976c4
Migrate dashboard json files to /data folder instead of wiping out (#5441) 2023-09-28 11:40:36 +13:00
Michael Hansen
280b090dfc
Add patch to apt install (#5389) 2023-09-13 18:13:55 -05:00
Jesse Hills
fe81bcc003
Use /data directory for .esphome folder when running as HA add-on (#5374) 2023-09-12 09:26:48 +12:00
dependabot[bot]
6b0fb3dd06
Bump platformio from 6.1.10 to 6.1.11 (#5323)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-09-05 23:31:21 +00:00
dependabot[bot]
f814b6d47c
Bump platformio from 6.1.9 to 6.1.10 (#5237)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-21 04:27:17 +00:00
Jesse Hills
f16a24ddf4
Move libcairo to all architectures in docker (#5276) 2023-08-18 19:13:46 +12:00
Pierre Gordon
5f99ed943a
Add libfreetype-dev Debian package for armv7 Docker builds (#5262) 2023-08-17 12:22:04 +12:00
Jimmy Hedman
5eb12ac5fe
Make docker use pip installed pillow (#5074) 2023-07-20 15:52:41 +12:00
guillempages
6b00622329
Add support for mdi images (#4654) 2023-06-07 09:32:21 +12:00
dependabot[bot]
18f4e41550
Bump platformio from 6.1.6 to 6.1.7 (#4795)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-05-17 05:29:15 +00:00
Jesse Hills
57e909e790
Only pre-install libraries in docker images (#4766) 2023-05-01 15:57:57 +12:00
Jesse Hills
2d56b70a36
Bump git version in Dockerfile (#4763) 2023-05-01 08:51:46 +12:00
Jesse Hills
6476357596
Expand the platformio dep installer to also install platforms and tools (#4716) 2023-04-27 12:26:06 +12:00
Keith Burzinski
c0ad5d1d16
Initial attempt at supporting ESP-IDF 5.0.0 (#4364)
* requirements: add pyparsing >= 3.0

ESP-IDF >= 5.0 requires pyparsing's rest_of_file, which was introduced
in version 3.0.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* esp32: fix build with ESP-IDF >= 5

We need to include esp_timer.h to be able to use esp_timer_get_time().
This header existed in ESP-IDF < 5 so we don't need if guards.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* ota: fix build with ESP-IDF >= 5

As of version 5, esp_task_wdt_init() takes a struct as argument. We also
need to include spi_flash_mmap.h.

[split unrelated change into separate commits, maintain ESP-IDF < 5
compat, use esp_task_wdt_reconfigure, add commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* core: fix build with ESP-IDF >= 5

These header files already existed in ESP-IDF < 5 so skip if guards.

[add commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* wifi: fix build with ESP-IDF >= 5

ESP-IDF 4.1 introduced the esp-netif API as successor to the tcp_adapter
API. The tcp_adapter API was removed in ESP-IDF 5.0.0. Part of the wifi
component was already migrated to the new API. Migrate the leftover uses
of the old API to the new API to fix build on ESP-IDF >= 5.

The version of ESP-IDF currently in use (4.4.4) supports the new API, so
we don't need any if guards to maintain backwards compatibility.

Also replace xQueueHandle, which is a pre FreeRTOS v8.0.0 data type,
with QueueHandle_t, so we don't need to enable backward compatibility
(CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY).

This reverts part of commit d42f35de5d to wifi_component_esp_idf.cpp,
as the esp-netif API handles that internally.

[replace pre FreeRTOS v8.0.0 data type, add commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* mdns: fix build with ESP-IDF >= 5

In ESP-IDF 5.0.0, the mdns component was removed and moved to another
repository. Since the mdns component in esphome is always built, we
need to add the mdns component from the esp-protocols repository. This
component depends on ESP-IDF >= 5.0, so we need to add a version guard.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

* docker: install python3-venv

As of version 6.0.1, platform-espressif32 requires python3-venv.
Switching between esp-idf 4.4.4 and 5.0 causes problems with esp-idf
python dependencies installed by PlatformIO. They've solved this by
using venv. Install python3-venv so that platform-espressif32 6.0.1 and
later can be used, and we don't need to wipe the dependencies manually
when switching esp-idf versions.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

---------

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2023-04-20 03:54:06 +00:00
Oxan van Leeuwen
14e38f0469
Upgrade clang-format to v13 (#4535)
* Upgrade clang-format to v13

* Apply clang-format-13 formatting changes

* Format

* Format bme_680

---------

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-20 03:38:41 +00:00
Jesse Hills
5a07e8d32b
Bump docker dependencies (#4526)
* Bump curl to 7.74.0-1.3+deb11u7

* Bump docker base images
2023-03-07 04:06:42 +00:00
dependabot[bot]
b4068dac56
Bump platformio from 6.1.5 to 6.1.6 (#4341)
* Bump platformio from 6.1.5 to 6.1.6

Bumps [platformio](https://github.com/platformio/platformio) from 6.1.5 to 6.1.6.
- [Release notes](https://github.com/platformio/platformio/releases)
- [Changelog](https://github.com/platformio/platformio-core/blob/develop/HISTORY.rst)
- [Commits](https://github.com/platformio/platformio/compare/v6.1.5...v6.1.6)

---
updated-dependencies:
- dependency-name: platformio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update dockerfile

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-13 22:41:14 +00:00
Jesse Hills
9dd01b30bd
Bump curl version in docker (#4403) 2023-02-09 16:26:06 +13:00
Franck Nijhof
3e017efa30
Add Home Assistant integration discovery (#4328) 2023-01-26 17:48:04 +01:00
Jesse Hills
10c7055b41
Move from docker manifest command to buildx with platforms (#4320) 2023-01-20 14:01:29 +13:00
Jesse Hills
e4ca3b18cc
Format docker/build.py (#4313) 2023-01-19 12:04:51 +13:00
Franck Nijhof
84698ae888
Refactor NGINX configuration of Home Assistant Add-on (#4312) 2023-01-18 19:54:27 +01:00
Franck Nijhof
fd6d6cfb6c
Migrate old-style S6 scripts to s6-rc.d (#4311) 2023-01-18 18:22:35 +01:00
Franck Nijhof
8cad9dfc83
Upgrades add-on base image to 6.2.0 (#4310) 2023-01-18 17:23:35 +01:00
Jesse Hills
22b384363b
Bump nano version in lint docker image (#4218) 2022-12-22 19:07:39 +13:00
Stefan Agner
1eacbd50fa
Support non-multiarch toolchains on 32-bit ARM (#4191)
fixes https://github.com/esphome/issues/issues/3904
2022-12-16 09:27:59 +13:00
Jesse Hills
2dd032475b
Allow global setting of compile process limit (#4081) 2022-12-01 12:51:01 +13:00
Jesse Hills
eead72333e
Bump base image versions to latest (#4016) 2022-11-17 16:14:10 +13:00
John Moxley
f7b1602adf
bump nginx-light 1.18.0-6.1+deb11u2 to 1.18.0-6.1+deb11u3 (#4034)
fixes https://github.com/esphome/issues/issues/3793
2022-11-17 07:44:17 +13:00
dependabot[bot]
02b15dbc4a
Bump platformio from 6.1.4 to 6.1.5 (#4004)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-11-09 12:03:39 +13:00
dependabot[bot]
a21c3e8e2d
Bump platformio from 6.0.2 to 6.1.4 (#3711)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-10-20 12:49:11 +13:00
Andrey Yantsen
7097b7677e
Add the same docker tags as used in HA (#3752) 2022-09-04 20:23:54 +12:00
Peter Galantha
c95acd2568
update packages: nginx-light-1.18.0-6.1+deb11u2 nano-5.4-2+deb11u1 (#3631) 2022-07-25 16:04:21 +12:00
Jesse Hills
311a48c64e
Bump platformio to 6.0.2 (#3566) 2022-06-21 11:53:51 +12:00
quentin9696
3346bc8bba
feat: add openssh-client on docker image (#1681) (#3319)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-04-26 10:09:49 +12:00
Otto Winter
0b1161f7ef
Bump docker dependencies (#3354) 2022-04-04 19:21:43 +02:00
Otto Winter
3208c8ed1e
Bump docker dependencies (#3281) 2022-03-09 13:48:02 +01:00
Jesse Hills
2c7b104f4a
Fix fatal erroring in addon startup script (#3244) 2022-02-21 10:01:00 +13:00
Otto Winter
953f0569fb
Docker ha-addon switch to nginx-light (#3218) 2022-02-17 12:07:36 +01:00
Otto Winter
34c229fd33
Fix platformio docker version mismstch (#3215) 2022-02-17 11:56:14 +01:00
Otto Winter
4e24551b90
Docker move deps install into base (#3207) 2022-02-16 22:25:04 +01:00
Jesse Hills
5c22065135
Change most references from hassio to ha-addon (#3178) 2022-02-09 23:46:20 +13:00
Otto Winter
df0de2fc2d
Bump docker dependencies (#3131) 2022-01-29 13:04:15 +01:00