⬆ Update base image and Chrony version (#30)

* ⬆ Update image to v9.0.1

* ⬆ Update chrony to v4.0-r1

* 🔨 Update build labels

* 🔨 Update build args
This commit is contained in:
Paul Sinclair 2021-01-21 16:36:57 -05:00 committed by GitHub
parent 72faf4246b
commit ae6334f46e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 13 deletions

View file

@ -1,4 +1,4 @@
ARG BUILD_FROM=hassioaddons/base:8.0.6
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:9.0.1
# hadolint ignore=DL3006
FROM ${BUILD_FROM}
@ -9,7 +9,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# hadolint ignore=DL3003
RUN \
apk add --no-cache \
chrony=3.5.1-r0
chrony=4.0-r1
# Copy root filesystem
COPY rootfs /
@ -17,25 +17,28 @@ COPY rootfs /
# Build arguments
ARG BUILD_ARCH
ARG BUILD_DATE
ARG BUILD_DESCRIPTION
ARG BUILD_NAME
ARG BUILD_REF
ARG BUILD_REPOSITORY
ARG BUILD_VERSION
# Labels
LABEL \
io.hass.name="chrony" \
io.hass.description="chrony NTP Server" \
io.hass.name="${BUILD_NAME}" \
io.hass.description="${BUILD_DESCRIPTION}" \
io.hass.arch="${BUILD_ARCH}" \
io.hass.type="addon" \
io.hass.version=${BUILD_VERSION} \
maintainer="Paul Sinclair <hello@addons.community>" \
org.opencontainers.image.title="chrony" \
org.opencontainers.image.description="chrony NTP Server" \
org.opencontainers.image.title="${BUILD_NAME}" \
org.opencontainers.image.description="${BUILD_DESCRIPTION}" \
org.opencontainers.image.vendor="Home Assistant Community Add-ons" \
org.opencontainers.image.authors="Paul Sinclair <hello@addons.community>" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.url="https://addons.community" \
org.opencontainers.image.source="https://github.com/hassio-addons/addon-chrony" \
org.opencontainers.image.documentation="https://github.com/hassio-addons/addon-chrony/blob/master/README.md" \
org.opencontainers.image.source="https://github.com/${BUILD_REPOSITORY}" \
org.opencontainers.image.documentation="https://github.com/${BUILD_REPOSITORY}/blob/main/README.md" \
org.opencontainers.image.created=${BUILD_DATE} \
org.opencontainers.image.revision=${BUILD_REF} \
org.opencontainers.image.version=${BUILD_VERSION}

View file

@ -1,9 +1,9 @@
{
"build_from": {
"aarch64": "hassioaddons/base-aarch64:8.0.6",
"amd64": "hassioaddons/base-amd64:8.0.6",
"armhf": "hassioaddons/base-armhf:8.0.6",
"armv7": "hassioaddons/base-armv7:8.0.6",
"i386": "hassioaddons/base-i386:8.0.6"
"aarch64": "ghcr.io/hassio-addons/base/aarch64:9.0.1",
"amd64": "ghcr.io/hassio-addons/base/amd64:9.0.1",
"armhf": "ghcr.io/hassio-addons/base/armhf:9.0.1",
"armv7": "ghcr.io/hassio-addons/base/armv7:9.0.1",
"i386": "ghcr.io/hassio-addons/base/i386:9.0.1"
}
}