mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-03 05:03:10 +01:00
Merge pull request #264 from zabbix/master
Fixed small issues. Preparation for Appliance
This commit is contained in:
commit
fc0cce07ef
@ -52,17 +52,13 @@ RUN addgroup zabbix && \
|
|||||||
libldap \
|
libldap \
|
||||||
libssh2 \
|
libssh2 \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
|
mariadb-client \
|
||||||
|
mariadb-client-libs \
|
||||||
mysql \
|
mysql \
|
||||||
openjdk8-jre-base \
|
|
||||||
mariadb-client \
|
|
||||||
mariadb-client-libs \
|
|
||||||
net-snmp-agent-libs \
|
net-snmp-agent-libs \
|
||||||
openipmi-libs \
|
|
||||||
unixodbc \
|
|
||||||
bash \
|
|
||||||
mariadb-client \
|
|
||||||
mariadb-client-libs \
|
|
||||||
nginx \
|
nginx \
|
||||||
|
openipmi-libs \
|
||||||
|
openjdk8-jre-base \
|
||||||
php5-bcmath \
|
php5-bcmath \
|
||||||
php5-ctype \
|
php5-ctype \
|
||||||
php5-fpm \
|
php5-fpm \
|
||||||
@ -74,7 +70,8 @@ RUN addgroup zabbix && \
|
|||||||
php5-sockets \
|
php5-sockets \
|
||||||
php5-xmlreader \
|
php5-xmlreader \
|
||||||
supervisor \
|
supervisor \
|
||||||
ttf-dejavu && \
|
ttf-dejavu \
|
||||||
|
unixodbc && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
ARG MAJOR_VERSION=3.0
|
ARG MAJOR_VERSION=3.0
|
||||||
@ -95,13 +92,13 @@ RUN apk add ${APK_FLAGS_DEV} --virtual build-dependencies \
|
|||||||
automake \
|
automake \
|
||||||
coreutils \
|
coreutils \
|
||||||
curl-dev \
|
curl-dev \
|
||||||
|
gettext \
|
||||||
libssh2-dev \
|
libssh2-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
openjdk8 \
|
|
||||||
mysql-dev \
|
mysql-dev \
|
||||||
gettext \
|
|
||||||
net-snmp-dev \
|
net-snmp-dev \
|
||||||
openipmi-dev \
|
openipmi-dev \
|
||||||
|
openjdk8 \
|
||||||
openldap-dev \
|
openldap-dev \
|
||||||
subversion \
|
subversion \
|
||||||
unixodbc-dev && \
|
unixodbc-dev && \
|
||||||
|
@ -23,4 +23,4 @@ docker build -t zabbix-appliance:$os-$version --build-arg VCS_REF="$VCS_REF" --b
|
|||||||
#docker rm -f zabbix-appliance
|
#docker rm -f zabbix-appliance
|
||||||
|
|
||||||
#sleep 5
|
#sleep 5
|
||||||
#docker run --name zabbix-appliance -t -d -p 80:80 zabbix:$os-$version
|
#docker run --name zabbix-appliance -t -d -p 80:80 zabbix-appliance:$os-$version
|
||||||
|
@ -45,10 +45,20 @@ RUN groupadd --system zabbix && \
|
|||||||
yum ${YUM_FLAGS_COMMON} makecache && \
|
yum ${YUM_FLAGS_COMMON} makecache && \
|
||||||
yum ${YUM_FLAGS_DEV} install epel-release && \
|
yum ${YUM_FLAGS_DEV} install epel-release && \
|
||||||
yum ${YUM_FLAGS_PERSISTANT} install \
|
yum ${YUM_FLAGS_PERSISTANT} install \
|
||||||
|
OpenIPMI-libs \
|
||||||
dejavu-sans-fonts \
|
dejavu-sans-fonts \
|
||||||
|
fping \
|
||||||
|
iksemel \
|
||||||
|
java-1.8.0-openjdk-headless \
|
||||||
|
libcurl \
|
||||||
|
libxml2 \
|
||||||
mariadb \
|
mariadb \
|
||||||
mariadb-server \
|
mariadb-server \
|
||||||
|
net-snmp-libs \
|
||||||
nginx \
|
nginx \
|
||||||
|
openldap \
|
||||||
|
openssl-libs \
|
||||||
|
pcre \
|
||||||
php-bcmath \
|
php-bcmath \
|
||||||
php-fpm \
|
php-fpm \
|
||||||
php-gd \
|
php-gd \
|
||||||
@ -56,18 +66,8 @@ RUN groupadd --system zabbix && \
|
|||||||
php-mbstring \
|
php-mbstring \
|
||||||
php-mysql \
|
php-mysql \
|
||||||
php-xml \
|
php-xml \
|
||||||
fping \
|
supervisor \
|
||||||
iksemel \
|
unixODBC && \
|
||||||
libcurl \
|
|
||||||
libxml2 \
|
|
||||||
net-snmp-libs \
|
|
||||||
OpenIPMI-libs \
|
|
||||||
openldap \
|
|
||||||
openssl-libs \
|
|
||||||
pcre \
|
|
||||||
unixODBC \
|
|
||||||
java-1.8.0-openjdk-headless \
|
|
||||||
supervisor && \
|
|
||||||
rm -f /etc/php-fpm.d/www.conf && \
|
rm -f /etc/php-fpm.d/www.conf && \
|
||||||
mkdir -p /var/lib/php/ && \
|
mkdir -p /var/lib/php/ && \
|
||||||
chown --quiet -R nginx:nginx /var/lib/php/ && \
|
chown --quiet -R nginx:nginx /var/lib/php/ && \
|
||||||
@ -88,12 +88,12 @@ COPY ["conf/tmp/font-config", "/tmp/font-config"]
|
|||||||
|
|
||||||
RUN yum --quiet makecache && \
|
RUN yum --quiet makecache && \
|
||||||
yum ${YUM_FLAGS_DEV} install \
|
yum ${YUM_FLAGS_DEV} install \
|
||||||
gettext \
|
|
||||||
patch \
|
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
gcc \
|
gcc \
|
||||||
|
gettext \
|
||||||
iksemel-devel \
|
iksemel-devel \
|
||||||
|
java-1.8.0-openjdk-devel \
|
||||||
libcurl-devel \
|
libcurl-devel \
|
||||||
libssh2-devel \
|
libssh2-devel \
|
||||||
libxml2-devel \
|
libxml2-devel \
|
||||||
@ -102,11 +102,9 @@ RUN yum --quiet makecache && \
|
|||||||
net-snmp-devel \
|
net-snmp-devel \
|
||||||
OpenIPMI-devel \
|
OpenIPMI-devel \
|
||||||
openldap-devel \
|
openldap-devel \
|
||||||
|
patch \
|
||||||
subversion \
|
subversion \
|
||||||
unixODBC-devel \
|
unixODBC-devel && \
|
||||||
java-1.8.0-openjdk-devel \
|
|
||||||
subversion \
|
|
||||||
gcc && \
|
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
svn --quiet export ${ZBX_SOURCES} zabbix-${ZBX_VERSION} 1>/dev/null && \
|
svn --quiet export ${ZBX_SOURCES} zabbix-${ZBX_VERSION} 1>/dev/null && \
|
||||||
cd /tmp/zabbix-${ZBX_VERSION} && \
|
cd /tmp/zabbix-${ZBX_VERSION} && \
|
||||||
|
@ -23,4 +23,4 @@ docker build -t zabbix-appliance:$os-$version --build-arg VCS_REF="$VCS_REF" --b
|
|||||||
#docker rm -f zabbix-appliance
|
#docker rm -f zabbix-appliance
|
||||||
|
|
||||||
#sleep 5
|
#sleep 5
|
||||||
#docker run --name zabbix-appliance -t -d -p 80:80 zabbix:$os-$version
|
#docker run --name zabbix-appliance -t -d -p 80:80 zabbix-appliance:$os-$version
|
||||||
|
@ -55,16 +55,6 @@ RUN locale-gen $LC_ALL && \
|
|||||||
echo "deb http://nginx.org/packages/ubuntu/ $DISTRIB_CODENAME nginx" >> /etc/apt/sources.list.d/nginx.list && \
|
echo "deb http://nginx.org/packages/ubuntu/ $DISTRIB_CODENAME nginx" >> /etc/apt/sources.list.d/nginx.list && \
|
||||||
apt-get ${APT_FLAGS_COMMON} update && \
|
apt-get ${APT_FLAGS_COMMON} update && \
|
||||||
apt-get ${APT_FLAGS_PERSISTANT} install \
|
apt-get ${APT_FLAGS_PERSISTANT} install \
|
||||||
mysql-server \
|
|
||||||
mysql-client \
|
|
||||||
nginx \
|
|
||||||
php5-fpm \
|
|
||||||
php5-gd \
|
|
||||||
php5-json \
|
|
||||||
php5-ldap \
|
|
||||||
php5-mysql \
|
|
||||||
supervisor \
|
|
||||||
ttf-dejavu-core \
|
|
||||||
fping \
|
fping \
|
||||||
libcurl3 \
|
libcurl3 \
|
||||||
libiksemel3 \
|
libiksemel3 \
|
||||||
@ -75,9 +65,18 @@ RUN locale-gen $LC_ALL && \
|
|||||||
libssl1.0.0 \
|
libssl1.0.0 \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
mysql-client \
|
mysql-client \
|
||||||
|
mysql-server \
|
||||||
|
nginx \
|
||||||
|
openjdk-7-jre-headless \
|
||||||
|
php5-fpm \
|
||||||
|
php5-gd \
|
||||||
|
php5-json \
|
||||||
|
php5-ldap \
|
||||||
|
php5-mysql \
|
||||||
snmp-mibs-downloader \
|
snmp-mibs-downloader \
|
||||||
unixodbc \
|
supervisor \
|
||||||
openjdk-7-jre-headless 1>/dev/null && \
|
ttf-dejavu-core \
|
||||||
|
unixodbc 1>/dev/null && \
|
||||||
apt-get ${APT_FLAGS_COMMON} purge \
|
apt-get ${APT_FLAGS_COMMON} purge \
|
||||||
wget 1>/dev/null && \
|
wget 1>/dev/null && \
|
||||||
apt-get ${APT_FLAGS_COMMON} autoremove && \
|
apt-get ${APT_FLAGS_COMMON} autoremove && \
|
||||||
@ -101,12 +100,10 @@ COPY ["conf/tmp/font-config", "/tmp/font-config"]
|
|||||||
|
|
||||||
RUN apt-get ${APT_FLAGS_COMMON} update && \
|
RUN apt-get ${APT_FLAGS_COMMON} update && \
|
||||||
apt-get ${APT_FLAGS_DEV} install \
|
apt-get ${APT_FLAGS_DEV} install \
|
||||||
gettext \
|
|
||||||
patch \
|
|
||||||
subversion \
|
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
gcc \
|
gcc \
|
||||||
|
gettext \
|
||||||
libc6-dev \
|
libc6-dev \
|
||||||
libcurl4-openssl-dev \
|
libcurl4-openssl-dev \
|
||||||
libiksemel-dev \
|
libiksemel-dev \
|
||||||
@ -117,17 +114,11 @@ RUN apt-get ${APT_FLAGS_COMMON} update && \
|
|||||||
libssh2-1-dev \
|
libssh2-1-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
make \
|
make \
|
||||||
pkg-config \
|
|
||||||
subversion \
|
|
||||||
unixodbc-dev \
|
|
||||||
autoconf \
|
|
||||||
automake \
|
|
||||||
libc6-dev \
|
|
||||||
make \
|
|
||||||
openjdk-7-jdk \
|
openjdk-7-jdk \
|
||||||
|
patch \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
subversion \
|
subversion \
|
||||||
gcc 1>/dev/null && \
|
unixodbc-dev 1>/dev/null && \
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
svn --quiet export ${ZBX_SOURCES} zabbix-${ZBX_VERSION} 1>/dev/null && \
|
svn --quiet export ${ZBX_SOURCES} zabbix-${ZBX_VERSION} 1>/dev/null && \
|
||||||
cd /tmp/zabbix-${ZBX_VERSION} && \
|
cd /tmp/zabbix-${ZBX_VERSION} && \
|
||||||
@ -195,12 +186,10 @@ RUN apt-get ${APT_FLAGS_COMMON} update && \
|
|||||||
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
apt-get ${APT_FLAGS_COMMON} purge \
|
apt-get ${APT_FLAGS_COMMON} purge \
|
||||||
gettext \
|
|
||||||
patch \
|
|
||||||
subversion \
|
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
gcc \
|
gcc \
|
||||||
|
gettext \
|
||||||
libc6-dev \
|
libc6-dev \
|
||||||
libcurl4-openssl-dev \
|
libcurl4-openssl-dev \
|
||||||
libiksemel-dev \
|
libiksemel-dev \
|
||||||
@ -211,17 +200,11 @@ RUN apt-get ${APT_FLAGS_COMMON} update && \
|
|||||||
libssh2-1-dev \
|
libssh2-1-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
make \
|
make \
|
||||||
pkg-config \
|
|
||||||
subversion \
|
|
||||||
unixodbc-dev \
|
|
||||||
autoconf \
|
|
||||||
automake \
|
|
||||||
libc6-dev \
|
|
||||||
make \
|
|
||||||
openjdk-7-jdk \
|
openjdk-7-jdk \
|
||||||
|
patch \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
subversion \
|
subversion \
|
||||||
gcc 1>/dev/null && \
|
unixodbc-dev 1>/dev/null && \
|
||||||
apt-get ${APT_FLAGS_COMMON} autoremove && \
|
apt-get ${APT_FLAGS_COMMON} autoremove && \
|
||||||
apt-get ${APT_FLAGS_COMMON} clean && \
|
apt-get ${APT_FLAGS_COMMON} clean && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
|
@ -23,4 +23,4 @@ docker build -t zabbix-appliance:$os-$version --build-arg VCS_REF="$VCS_REF" --b
|
|||||||
#docker rm -f zabbix-appliance
|
#docker rm -f zabbix-appliance
|
||||||
|
|
||||||
#sleep 5
|
#sleep 5
|
||||||
#docker run --name zabbix-appliance -t -d -p 80:80 zabbix:$os-$version
|
#docker run --name zabbix-appliance -t -d -p 80:80 zabbix-appliance:$os-$version
|
||||||
|
Loading…
Reference in New Issue
Block a user