Skip to content
This repository has been archived by the owner on May 1, 2021. It is now read-only.

Commit

Permalink
Upgrade add-on base image to 9.1.2 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Feb 2, 2021
1 parent 59847d6 commit 8be2d51
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions lutron-cert/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=hassioaddons/base-python:5.3.2
ARG BUILD_FROM=ghcr.io/hassio-addons/base-python/amd64:6.0.0
# hadolint ignore=DL3006
FROM ${BUILD_FROM}

Expand All @@ -12,26 +12,26 @@ COPY requirements.txt /tmp/
ARG BUILD_ARCH=amd64
RUN \
apk add --no-cache --virtual .build-dependencies \
gcc=9.3.0-r2 \
gcc=10.2.1_pre1-r3 \
libc-dev=0.7.2-r3 \
libffi-dev=3.3-r2 \
openssl-dev=1.1.1g-r0 \
openssl-dev=1.1.1i-r0 \
\
&& apk add --no-cache \
dbus=1.12.18-r0 \
dbus=1.12.20-r1 \
\
&& pip3 install \
--no-cache-dir \
--prefer-binary \
--find-links "https://wheels.home-assistant.io/alpine-3.12/${BUILD_ARCH}/" \
--find-links "https://wheels.home-assistant.io/alpine-3.13/${BUILD_ARCH}/" \
-r /tmp/requirements.txt \
\
&& find /usr/local \
\( -type d -a -name test -o -name tests -o -name '__pycache__' \) \
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
-exec rm -rf '{}' + \
\
&& apk del --purge .build-dependencies
&& apk del --no-cache --purge .build-dependencies


# Build arguments
Expand Down
10 changes: 5 additions & 5 deletions lutron-cert/build.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"build_from": {
"aarch64": "hassioaddons/base-python-aarch64:5.3.2",
"amd64": "hassioaddons/base-python-amd64:5.3.2",
"armhf": "hassioaddons/base-python-armhf:5.3.2",
"armv7": "hassioaddons/base-python-armv7:5.3.2",
"i386": "hassioaddons/base-python-i386:5.3.2"
"aarch64": "ghcr.io/hassio-addons/base-python/aarch64:6.0.0",
"amd64": "ghcr.io/hassio-addons/base-python/amd64:6.0.0",
"armhf": "ghcr.io/hassio-addons/base-python/armhf:6.0.0",
"armv7": "ghcr.io/hassio-addons/base-python/armv7:6.0.0",
"i386": "ghcr.io/hassio-addons/base-python/i386:6.0.0"
}
}

0 comments on commit 8be2d51

Please sign in to comment.