17 lines
504 B
Docker
17 lines
504 B
Docker
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base/amd64
|
|
ARG BUILD_ARCH=amd64
|
|
|
|
FROM ${BUILD_FROM}
|
|
|
|
RUN apk update && apk add --no-cache wget dpkg
|
|
RUN wget https://repo.zabbix.com/zabbix/6.5/debian/pool/main/z/zabbix-release/zabbix-release_6.5-1+debian12_all.deb && dpkg -i zabbix-release_6.5-1+debian12_all.deb
|
|
|
|
RUN apk update && apk add --no-cache zabbix-agent2
|
|
|
|
COPY rootfs/* /etc/
|
|
|
|
RUN ls /etc
|
|
RUN ls /etc/services.d/
|
|
RUN ls /etc/services.d/zabbix-agent2
|
|
RUN chmod a+x /etc/services.d/zabbix-agent2/run
|