kea-dhcp4 (2.4.0)
Published 2025-11-30 15:37:40 +03:00 by mpavlov
Installation
docker pull olssonul.com/iac/kea-dhcp4:2.4.0sha256:6b1111fa5f96798236dfa06b13de7609dae98b6cb6d15d80ef6c051eeb80c46fImage Layers
| ADD file:6dd87346b8be240b21b4f4d9296253bf0d28b6579aa52d2118872e3936963b6b in / |
| CMD ["/bin/sh"] |
| LABEL org.opencontainers.image.authors=Kea Developers <kea-dev@lists.isc.org> |
| ARG VERSION=2.4.0-r20230921141113 |
| ARG TOKEN |
| ARG PREMIUM |
| SHELL [/bin/ash -o pipefail -c] |
| RUN |3 VERSION=2.4.0-r20230921141113 TOKEN= PREMIUM= /bin/ash -o pipefail -c cp /etc/apk/repositories /etc/apk/repositories_backup && apk update && apk add --no-cache curl bash && curl -1sLf "https://dl.cloudsmith.io/public/isc/kea-$(echo "${VERSION}" | cut -c1;)-$(echo "${VERSION}" | cut -c3;)/setup.alpine.sh" | bash && apk update && apk add --no-cache isc-kea-dhcp4~=${VERSION} isc-kea-ctrl-agent~=${VERSION} isc-kea-hooks~=${VERSION} supervisor && if [ -n "$TOKEN" ]; then curl -1sLf "https://dl.cloudsmith.io/${TOKEN}/isc/kea-$(echo "${VERSION}" | cut -c1;)-$(echo "${VERSION}" | cut -c3;)-prv/setup.alpine.sh" | bash && apk update && apk add --no-cache isc-kea-premium-ddns-tuning~=${VERSION} isc-kea-premium-flex-id~=${VERSION} isc-kea-premium-forensic-log~=${VERSION} isc-kea-premium-host-cmds~=${VERSION}; fi && if [ -n "$TOKEN" ] && [ "$PREMIUM" = "SUBSCRIPTION" ]; then apk add --no-cache isc-kea-premium-cb-cmds~=${VERSION} isc-kea-premium-class-cmds~=${VERSION} isc-kea-premium-host-cache~=${VERSION} isc-kea-premium-lease-query~=${VERSION} isc-kea-premium-limits~=${VERSION} isc-kea-premium-subnet-cmds~=${VERSION}; fi && if [ -n "$TOKEN" ] && [ "$PREMIUM" = "ENTERPRISE" ]; then apk add --no-cache isc-kea-premium-cb-cmds~=${VERSION} isc-kea-premium-class-cmds~=${VERSION} isc-kea-premium-host-cache~=${VERSION} isc-kea-premium-lease-query~=${VERSION} isc-kea-premium-limits~=${VERSION} isc-kea-premium-subnet-cmds~=${VERSION} isc-kea-premium-rbac~=${VERSION}; fi && mv /etc/apk/repositories_backup /etc/apk/repositories && mkdir -p /var/log/supervisor && apk del curl # buildkit |
| VOLUME [/etc/kea /var/lib/kea/] |
| COPY supervisord.conf /etc/supervisor/supervisord.conf # buildkit |
| COPY supervisor-kea-dhcp4.conf /etc/supervisor/conf.d/kea-dhcp4.conf # buildkit |
| COPY supervisor-kea-agent.conf /etc/supervisor/conf.d/kea-agent.conf # buildkit |
| COPY kea-ctrl-agent.conf /etc/kea/kea-ctrl-agent.conf # buildkit |
| COPY kea-dhcp4.conf /etc/kea/kea-dhcp4.conf # buildkit |
| EXPOSE map[67/tcp:{} 67/udp:{} 8000/tcp:{} 8001/tcp:{}] |
| CMD ["supervisord" "-c" "/etc/supervisor/supervisord.conf"] |
| HEALTHCHECK &{["CMD" "supervisorctl" "status"] "0s" "0s" "0s" '\x00'} |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.authors | Kea Developers <kea-dev@lists.isc.org> |