Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
c925be77c5
|
|||
|
e6f5f4092c
|
|||
|
47d32d669b
|
|||
|
f05bb63007
|
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: build-amd64
|
name: build-amd64
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:12.0.0
|
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:16.2.0
|
||||||
FROM $BUILD_FROM
|
FROM $BUILD_FROM
|
||||||
|
|
||||||
ENV LANG C.UTF-8
|
ENV LANG C.UTF-8
|
||||||
@@ -6,11 +6,12 @@ ENV LANG C.UTF-8
|
|||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apk add -U zabbix-agent2=6.0.13-r0 sudo && \
|
apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community zabbix-agent2=7.0.2-r0 zabbix-agent2-plugin-postgresql zabbix-agent2-plugin-alpine && \
|
||||||
|
apk add --no-cache sudo && \
|
||||||
addgroup -g 102 -S docker && \
|
addgroup -g 102 -S docker && \
|
||||||
addgroup zabbix docker
|
addgroup zabbix docker
|
||||||
|
|
||||||
LABEL \
|
LABEL \
|
||||||
io.hass.version="0.2.5" \
|
io.hass.version="0.3.0" \
|
||||||
io.hass.type="addon" \
|
io.hass.type="addon" \
|
||||||
io.hass.arch="amd64"
|
io.hass.arch="amd64"
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
ARG BUILD_FROM=ghcr.io/hassio-addons/base/armhf:12.0.0
|
ARG BUILD_FROM=ghcr.io/hassio-addons/base/armhf:16.2.0
|
||||||
FROM $BUILD_FROM
|
FROM $BUILD_FROM
|
||||||
|
|
||||||
ENV LANG C.UTF-8
|
ENV LANG C.UTF-8
|
||||||
@@ -6,11 +6,12 @@ ENV LANG C.UTF-8
|
|||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apk add -U zabbix-agent2=6.0.13-r0 sudo && \
|
apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community zabbix-agent2=7.0.2-r0 zabbix-agent2-plugin-postgresql zabbix-agent2-plugin-alpine && \
|
||||||
|
apk add --no-cache sudo && \
|
||||||
addgroup -g 102 -S docker && \
|
addgroup -g 102 -S docker && \
|
||||||
addgroup zabbix docker
|
addgroup zabbix docker
|
||||||
|
|
||||||
LABEL \
|
LABEL \
|
||||||
io.hass.version="0.2.5" \
|
io.hass.version="0.3.0" \
|
||||||
io.hass.type="addon" \
|
io.hass.type="addon" \
|
||||||
io.hass.arch="armhf"
|
io.hass.arch="armhf"
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
ARG BUILD_FROM=ghcr.io/hassio-addons/base/aarch64:12.0.0
|
ARG BUILD_FROM=ghcr.io/hassio-addons/base/aarch64:16.2.0
|
||||||
FROM $BUILD_FROM
|
FROM $BUILD_FROM
|
||||||
|
|
||||||
ENV LANG C.UTF-8
|
ENV LANG C.UTF-8
|
||||||
@@ -6,11 +6,12 @@ ENV LANG C.UTF-8
|
|||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apk add -U zabbix-agent2=6.0.13-r0 sudo && \
|
apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community zabbix-agent2=7.0.2-r0 zabbix-agent2-plugin-postgresql zabbix-agent2-plugin-alpine && \
|
||||||
|
apk add --no-cache sudo && \
|
||||||
addgroup -g 102 -S docker && \
|
addgroup -g 102 -S docker && \
|
||||||
addgroup zabbix docker
|
addgroup zabbix docker
|
||||||
|
|
||||||
LABEL \
|
LABEL \
|
||||||
io.hass.version="0.2.5" \
|
io.hass.version="0.3.0" \
|
||||||
io.hass.type="addon" \
|
io.hass.type="addon" \
|
||||||
io.hass.arch="aarch64"
|
io.hass.arch="aarch64"
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
"name": "Zabbix Agent 2",
|
"name": "Zabbix Agent 2",
|
||||||
"url": "https://git.asperti.com/paspo/hassio-addons",
|
"url": "https://git.asperti.com/paspo/hassio-addons",
|
||||||
"image": "docker.asperti.com/paspo/hassio-zabbix-agent2",
|
"image": "docker.asperti.com/paspo/hassio-zabbix-agent2",
|
||||||
"version": "0.2.5",
|
"version": "0.3.0",
|
||||||
"slug": "zabbix-agent2",
|
"slug": "zabbix-agent2",
|
||||||
"description": "Zabbix Agent 2 for hass.io",
|
"description": "Zabbix Agent 2 for hass.io (7.0 LTS)",
|
||||||
"startup": "services",
|
"startup": "services",
|
||||||
"boot": "auto",
|
"boot": "auto",
|
||||||
"hassio_api": true,
|
"hassio_api": true,
|
||||||
|
|||||||
7
rootfs/etc/cont-init.d/require_unprotected.sh
Normal file → Executable file
7
rootfs/etc/cont-init.d/require_unprotected.sh
Normal file → Executable file
@@ -1,6 +1,9 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/bin/sh
|
||||||
|
|
||||||
# Instead of enforcing this requirement, we let the user choose
|
# Instead of enforcing this requirement, we let the user choose
|
||||||
# to access docker, we need to disable "protection mode"
|
# if he/she wants to access docker: if so, disabling the "protection mode" is mandatory
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
#!/usr/bin/with-contenv bashio
|
||||||
#bashio::require.unprotected
|
#bashio::require.unprotected
|
||||||
Reference in New Issue
Block a user