Switch add-on base image to Debian (#27)

This commit is contained in:
Franck Nijhof 2021-01-22 12:52:17 +01:00 committed by GitHub
parent d32721e6e6
commit 971f749b10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 17 deletions

View file

@ -1,22 +1,10 @@
ARG BUILD_FROM=hassioaddons/ubuntu-base:5.2.2
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base/amd64:4.0.0
# hadolint ignore=DL3006
FROM ${BUILD_FROM}
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Setup base system
RUN \
apt-get update \
\
&& apt-get install -y --no-install-recommends \
libssl1.0.0=1.0.2n-1ubuntu5.4 \
\
&& rm -fr \
/tmp/* \
/var/{cache,log}/* \
/var/lib/apt/lists/*
# Copy root filesystem
COPY rootfs /

View file

@ -1,8 +1,8 @@
{
"build_from": {
"aarch64": "hassioaddons/ubuntu-base-aarch64:5.2.2",
"amd64": "hassioaddons/ubuntu-base-amd64:5.2.2",
"armv7": "hassioaddons/ubuntu-base-armv7:5.2.2",
"i386": "hassioaddons/ubuntu-base-i386:5.2.2"
"aarch64": "ghcr.io/hassio-addons/debian-base/aarch64:4.0.0",
"amd64": "ghcr.io/hassio-addons/debian-base/amd64:4.0.0",
"armv7": "ghcr.io/hassio-addons/debian-base/armv7:4.0.0",
"i386": "ghcr.io/hassio-addons/debian-base/i386:4.0.0"
}
}