mirror of
https://github.com/hassio-addons/addon-chrony.git
synced 2025-05-04 19:21:35 +00:00
🎉 Initial Version
This commit is contained in:
commit
9a5ecaad8c
30 changed files with 978 additions and 0 deletions
39
chrony/Dockerfile
Normal file
39
chrony/Dockerfile
Normal file
|
@ -0,0 +1,39 @@
|
|||
ARG BUILD_FROM=hassioaddons/base:3.0.0
|
||||
# hadolint ignore=DL3006
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
# Set shell
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
|
||||
# Setup base
|
||||
# hadolint ignore=DL3003
|
||||
RUN \
|
||||
apk add --no-cache \
|
||||
chrony=3.4-r1
|
||||
|
||||
# Copy root filesystem
|
||||
COPY rootfs /
|
||||
|
||||
# Build arguments
|
||||
ARG BUILD_ARCH
|
||||
ARG BUILD_DATE
|
||||
ARG BUILD_REF
|
||||
ARG BUILD_VERSION
|
||||
|
||||
# Labels
|
||||
LABEL \
|
||||
io.hass.name="chrony" \
|
||||
io.hass.description="chrony NTP Server" \
|
||||
io.hass.arch="${BUILD_ARCH}" \
|
||||
io.hass.type="addon" \
|
||||
io.hass.version=${BUILD_VERSION} \
|
||||
maintainer="Franck Nijhof <frenck@addons.community>" \
|
||||
org.label-schema.description="chrony NTP Server" \
|
||||
org.label-schema.build-date=${BUILD_DATE} \
|
||||
org.label-schema.name="chrony" \
|
||||
org.label-schema.schema-version="1.0" \
|
||||
org.label-schema.url="https://community.home-assistant.io/?u=frenck" \
|
||||
org.label-schema.usage="https://github.com/hassio-addons/addon-xxxxx/tree/master/README.md" \
|
||||
org.label-schema.vcs-ref=${BUILD_REF} \
|
||||
org.label-schema.vcs-url="https://github.com/hassio-addons/addon-xxxxx" \
|
||||
org.label-schema.vendor="Community Hass.io Addons"
|
Loading…
Add table
Add a link
Reference in a new issue