mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-22 15:53:35 +01:00
Removed duplicates for custom sql scripts
This commit is contained in:
parent
2e4450dec1
commit
8cab570bb6
@ -80,7 +80,6 @@ RUN set -eux && \
|
||||
mkdir -p /var/lib/zabbix && \
|
||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/enc && \
|
||||
mkdir -p /var/lib/zabbix/export && \
|
||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||
|
@ -336,7 +336,6 @@ create_db_schema_mysql() {
|
||||
|
||||
exec_sql_file "/usr/share/doc/zabbix-server-mysql/create.sql.gz"
|
||||
|
||||
apply_db_scripts "/usr/lib/zabbix/dbscripts/*.sql"
|
||||
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||
fi
|
||||
}
|
||||
|
@ -92,7 +92,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
mkdir -p /var/lib/zabbix && \
|
||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/enc && \
|
||||
mkdir -p /var/lib/zabbix/export && \
|
||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||
|
@ -333,7 +333,6 @@ create_db_schema_mysql() {
|
||||
|
||||
exec_sql_file "/usr/share/doc/zabbix-server-mysql/create.sql.gz"
|
||||
|
||||
apply_db_scripts "/usr/lib/zabbix/dbscripts/*.sql"
|
||||
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||
fi
|
||||
}
|
||||
|
@ -87,7 +87,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
mkdir -p /etc/zabbix && \
|
||||
mkdir -p /var/lib/zabbix && \
|
||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/enc && \
|
||||
mkdir -p /var/lib/zabbix/export && \
|
||||
|
@ -333,7 +333,6 @@ create_db_schema_mysql() {
|
||||
|
||||
exec_sql_file "/usr/share/doc/zabbix-server-mysql/create.sql.gz"
|
||||
|
||||
apply_db_scripts "/usr/lib/zabbix/dbscripts/*.sql"
|
||||
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||
fi
|
||||
}
|
||||
|
@ -128,7 +128,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
mkdir -p /var/lib/zabbix && \
|
||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/enc && \
|
||||
mkdir -p /var/lib/zabbix/export && \
|
||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||
|
@ -333,7 +333,6 @@ create_db_schema_mysql() {
|
||||
|
||||
exec_sql_file "/usr/share/doc/zabbix-server-mysql/create.sql.gz"
|
||||
|
||||
apply_db_scripts "/usr/lib/zabbix/dbscripts/*.sql"
|
||||
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||
fi
|
||||
}
|
||||
|
@ -83,7 +83,6 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
|
||||
mkdir -p /var/lib/zabbix && \
|
||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/enc && \
|
||||
mkdir -p /var/lib/zabbix/export && \
|
||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||
|
@ -333,7 +333,6 @@ create_db_schema_mysql() {
|
||||
|
||||
exec_sql_file "/usr/share/doc/zabbix-server-mysql/create.sql.gz"
|
||||
|
||||
apply_db_scripts "/usr/lib/zabbix/dbscripts/*.sql"
|
||||
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||
fi
|
||||
}
|
||||
|
@ -81,7 +81,6 @@ RUN set -eux && \
|
||||
mkdir -p /var/lib/zabbix && \
|
||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/enc && \
|
||||
mkdir -p /var/lib/zabbix/export && \
|
||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||
|
@ -352,7 +352,6 @@ create_db_schema_postgresql() {
|
||||
exec_sql_file "/usr/share/doc/zabbix-server-postgresql/timescaledb.sql"
|
||||
fi
|
||||
|
||||
apply_db_scripts "/usr/lib/zabbix/dbscripts/*.sql"
|
||||
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||
fi
|
||||
}
|
||||
|
@ -92,7 +92,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
mkdir -p /var/lib/zabbix && \
|
||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/enc && \
|
||||
mkdir -p /var/lib/zabbix/export && \
|
||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||
|
@ -352,7 +352,6 @@ create_db_schema_postgresql() {
|
||||
exec_sql_file "/usr/share/doc/zabbix-server-postgresql/timescaledb.sql"
|
||||
fi
|
||||
|
||||
apply_db_scripts "/usr/lib/zabbix/dbscripts/*.sql"
|
||||
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||
fi
|
||||
}
|
||||
|
@ -88,7 +88,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
mkdir -p /var/lib/zabbix && \
|
||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/enc && \
|
||||
mkdir -p /var/lib/zabbix/export && \
|
||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||
|
@ -352,7 +352,6 @@ create_db_schema_postgresql() {
|
||||
exec_sql_file "/usr/share/doc/zabbix-server-postgresql/timescaledb.sql"
|
||||
fi
|
||||
|
||||
apply_db_scripts "/usr/lib/zabbix/dbscripts/*.sql"
|
||||
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||
fi
|
||||
}
|
||||
|
@ -84,7 +84,6 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
|
||||
mkdir -p /var/lib/zabbix && \
|
||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
||||
mkdir -p /var/lib/zabbix/enc && \
|
||||
mkdir -p /var/lib/zabbix/export && \
|
||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||
|
@ -352,7 +352,6 @@ create_db_schema_postgresql() {
|
||||
exec_sql_file "/usr/share/doc/zabbix-server-postgresql/timescaledb.sql"
|
||||
fi
|
||||
|
||||
apply_db_scripts "/usr/lib/zabbix/dbscripts/*.sql"
|
||||
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user