Zabbix Docker

From UVOO Tech Wiki
Revision as of 01:19, 30 July 2021 by Busk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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