2020-08-27 12:43:53 +02:00
|
|
|
ARG BUILD_FROM=hassioaddons/base:8.0.1
|
2019-03-19 19:16:52 +01:00
|
|
|
FROM $BUILD_FROM
|
|
|
|
|
|
|
|
ENV LANG C.UTF-8
|
|
|
|
|
|
|
|
# Copy scripts for add-on
|
|
|
|
COPY run.sh /
|
|
|
|
|
|
|
|
RUN apk add -U jq zabbix-agent sudo && \
|
2019-03-19 22:04:36 +01:00
|
|
|
chmod a+x /run.sh && \
|
|
|
|
mkdir /etc/zabbix
|
2019-03-19 19:16:52 +01:00
|
|
|
|
|
|
|
CMD [ "/run.sh" ]
|