From 0e7958b273480a45f3acac7e1e2a4814a1c857c3 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 2 Feb 2021 19:33:15 +0100 Subject: [PATCH] Upgrade add-on base image to 9.1.2 --- lutron-cert/Dockerfile | 12 ++++++------ lutron-cert/build.json | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lutron-cert/Dockerfile b/lutron-cert/Dockerfile index a2e1c1c..9e163a7 100644 --- a/lutron-cert/Dockerfile +++ b/lutron-cert/Dockerfile @@ -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} @@ -12,18 +12,18 @@ 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 \ @@ -31,7 +31,7 @@ RUN \ -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 diff --git a/lutron-cert/build.json b/lutron-cert/build.json index addff08..17a7b8a 100644 --- a/lutron-cert/build.json +++ b/lutron-cert/build.json @@ -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" } }