Skip to content

Commit

Permalink
⬆️ Upgrades add-on base image to v10.0.1 (#140)
Browse files Browse the repository at this point in the history
* ⬆️ Upgrades add-on base image to v10.0.1

* Fix build
  • Loading branch information
frenck authored Aug 17, 2021
1 parent 21d4a88 commit 8d31834
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
15 changes: 8 additions & 7 deletions appdaemon/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:9.2.2
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:10.0.1
# hadolint ignore=DL3006
FROM ${BUILD_FROM}

Expand All @@ -19,20 +19,21 @@ RUN \
build-base=0.5-r2 \
libffi-dev=3.3-r2 \
openssl-dev=1.1.1k-r0 \
py3-wheel=0.36.2-r0 \
python3-dev=3.8.10-r0 \
py3-wheel=0.36.2-r2 \
python3-dev=3.9.5-r1 \
\
&& apk add --no-cache \
py3-pip=20.3.4-r0 \
python3=3.8.10-r0 \
py3-pip=20.3.4-r1 \
py3-bcrypt=3.2.0-r3 \
python3=3.9.5-r1 \
\
&& pip install \
--no-cache-dir \
--prefer-binary \
--find-links "https://wheels.home-assistant.io/alpine-3.13/${BUILD_ARCH}/" \
--find-links "https://wheels.home-assistant.io/alpine-3.14/${BUILD_ARCH}/" \
-r /tmp/requirements.txt \
\
&& cd /usr/lib/python3.8/site-packages/ \
&& cd /usr/lib/python3.9/site-packages/ \
&& patch -p1 < /patches/force_recompile.patch \
&& patch -p1 < /patches/hassio.patch \
\
Expand Down
10 changes: 5 additions & 5 deletions appdaemon/build.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"build_from": {
"aarch64": "ghcr.io/hassio-addons/base/aarch64:9.2.2",
"amd64": "ghcr.io/hassio-addons/base/amd64:9.2.2",
"armhf": "ghcr.io/hassio-addons/base/armhf:9.2.2",
"armv7": "ghcr.io/hassio-addons/base/armv7:9.2.2",
"i386": "ghcr.io/hassio-addons/base/i386:9.2.2"
"aarch64": "ghcr.io/hassio-addons/base/aarch64:10.0.1",
"amd64": "ghcr.io/hassio-addons/base/amd64:10.0.1",
"armhf": "ghcr.io/hassio-addons/base/armhf:10.0.1",
"armv7": "ghcr.io/hassio-addons/base/armv7:10.0.1",
"i386": "ghcr.io/hassio-addons/base/i386:10.0.1"
}
}

0 comments on commit 8d31834

Please sign in to comment.