diff --git a/Dockerfile b/Dockerfile index 2e9b97f..b9643c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,12 @@ FROM zabbix/zabbix-server-pgsql:ubuntu-7.0-latest USER root RUN set -eux && \ apt-get -y update && \ - DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install python3 python3-requests && \ + DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install python3 python3-requests snmp-mibs-downloader && \ ln -s /usr/bin/python3 /usr/bin/python && \ apt-get -y autoremove && \ apt-get -y clean && \ rm -rf /var/lib/apt/lists/* +RUN download-mibs + USER 1997 diff --git a/build.sh b/build.sh index 0d027d9..5c2890e 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,3 @@ #!/bin/bash -version="7.0" - docker image build --pull .