mirror of
https://github.com/hassio-addons/addon-airsonos.git
synced 2025-05-04 19:11:22 +00:00
Switch add-on base image to Debian
This commit is contained in:
parent
d32721e6e6
commit
11d0cd2d90
2 changed files with 5 additions and 17 deletions
|
@ -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
|
# hadolint ignore=DL3006
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
# Set shell
|
# Set shell
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
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 root filesystem
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"build_from": {
|
"build_from": {
|
||||||
"aarch64": "hassioaddons/ubuntu-base-aarch64:5.2.2",
|
"aarch64": "ghcr.io/hassio-addons/debian-base/aarch64:4.0.0",
|
||||||
"amd64": "hassioaddons/ubuntu-base-amd64:5.2.2",
|
"amd64": "ghcr.io/hassio-addons/debian-base/amd64:4.0.0",
|
||||||
"armv7": "hassioaddons/ubuntu-base-armv7:5.2.2",
|
"armv7": "ghcr.io/hassio-addons/debian-base/armv7:4.0.0",
|
||||||
"i386": "hassioaddons/ubuntu-base-i386:5.2.2"
|
"i386": "ghcr.io/hassio-addons/debian-base/i386:4.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue