Zabbix Docker
Jump to navigation
Jump to search
- https://github.com/zabbix/zabbix-docker/tree/5.4/server-pgsql/ubuntu
- vim Dockerfile and add apt-get install curl and netcat-openbsd under DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
sudo docker build --tag localhost:32000/my/zabbix-server-pgsql:ubuntu-latest . sudo docker push localhost:32000/my/zabbix-server-pgsql:ubuntu-latest
reference image in yaml
image: localhost:32000/my/zabbix-server-pgsql:ubuntu-latest
Custom Dockerfile example
FROM ubuntu:focal
# start custom
RUN set -eux && \
apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
dnsutils \
curl \
netcat-openbsd \
python3 \
python3-pip \
libffi-dev \
libgit2-dev \
# build-essential \
# libssh2-1-dev \
python3-dev \
gcc
# --prefer-binary
# RUN pip3 install --no-cache-dir gitfs
# RUN mkdir -p /var/lib/gitfs
# end custom