mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-24 16:54:13 +01:00
Removed duplicates for custom sql scripts
This commit is contained in:
parent
9128e6054e
commit
bba9e2b4a9
@ -78,7 +78,6 @@ RUN set -eux && \
|
|||||||
mkdir -p /var/lib/zabbix && \
|
mkdir -p /var/lib/zabbix && \
|
||||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
|
||||||
mkdir -p /var/lib/zabbix/enc && \
|
mkdir -p /var/lib/zabbix/enc && \
|
||||||
mkdir -p /var/lib/zabbix/export && \
|
mkdir -p /var/lib/zabbix/export && \
|
||||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||||
|
@ -335,7 +335,6 @@ create_db_schema_mysql() {
|
|||||||
|
|
||||||
exec_sql_file "/usr/share/doc/zabbix-server-mysql/create.sql.gz"
|
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"
|
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
mkdir -p /var/lib/zabbix && \
|
mkdir -p /var/lib/zabbix && \
|
||||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
|
||||||
mkdir -p /var/lib/zabbix/enc && \
|
mkdir -p /var/lib/zabbix/enc && \
|
||||||
mkdir -p /var/lib/zabbix/export && \
|
mkdir -p /var/lib/zabbix/export && \
|
||||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||||
|
@ -332,7 +332,6 @@ create_db_schema_mysql() {
|
|||||||
|
|
||||||
exec_sql_file "/usr/share/doc/zabbix-server-mysql/create.sql.gz"
|
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"
|
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -88,7 +88,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
mkdir -p /etc/zabbix && \
|
mkdir -p /etc/zabbix && \
|
||||||
mkdir -p /var/lib/zabbix && \
|
mkdir -p /var/lib/zabbix && \
|
||||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
|
||||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
mkdir -p /var/lib/zabbix/dbscripts && \
|
||||||
mkdir -p /var/lib/zabbix/enc && \
|
mkdir -p /var/lib/zabbix/enc && \
|
||||||
mkdir -p /var/lib/zabbix/export && \
|
mkdir -p /var/lib/zabbix/export && \
|
||||||
|
@ -332,7 +332,6 @@ create_db_schema_mysql() {
|
|||||||
|
|
||||||
exec_sql_file "/usr/share/doc/zabbix-server-mysql/create.sql.gz"
|
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"
|
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -117,7 +117,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
mkdir -p /var/lib/zabbix && \
|
mkdir -p /var/lib/zabbix && \
|
||||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
|
||||||
mkdir -p /var/lib/zabbix/enc && \
|
mkdir -p /var/lib/zabbix/enc && \
|
||||||
mkdir -p /var/lib/zabbix/export && \
|
mkdir -p /var/lib/zabbix/export && \
|
||||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||||
|
@ -332,7 +332,6 @@ create_db_schema_mysql() {
|
|||||||
|
|
||||||
exec_sql_file "/usr/share/doc/zabbix-server-mysql/create.sql.gz"
|
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"
|
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -82,7 +82,6 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
|
|||||||
mkdir -p /var/lib/zabbix && \
|
mkdir -p /var/lib/zabbix && \
|
||||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
|
||||||
mkdir -p /var/lib/zabbix/enc && \
|
mkdir -p /var/lib/zabbix/enc && \
|
||||||
mkdir -p /var/lib/zabbix/export && \
|
mkdir -p /var/lib/zabbix/export && \
|
||||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||||
|
@ -332,7 +332,6 @@ create_db_schema_mysql() {
|
|||||||
|
|
||||||
exec_sql_file "/usr/share/doc/zabbix-server-mysql/create.sql.gz"
|
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"
|
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,6 @@ RUN set -eux && \
|
|||||||
mkdir -p /var/lib/zabbix && \
|
mkdir -p /var/lib/zabbix && \
|
||||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
|
||||||
mkdir -p /var/lib/zabbix/enc && \
|
mkdir -p /var/lib/zabbix/enc && \
|
||||||
mkdir -p /var/lib/zabbix/export && \
|
mkdir -p /var/lib/zabbix/export && \
|
||||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
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"
|
exec_sql_file "/usr/share/doc/zabbix-server-postgresql/timescaledb.sql"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
apply_db_scripts "/usr/lib/zabbix/dbscripts/*.sql"
|
|
||||||
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
mkdir -p /var/lib/zabbix && \
|
mkdir -p /var/lib/zabbix && \
|
||||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
|
||||||
mkdir -p /var/lib/zabbix/enc && \
|
mkdir -p /var/lib/zabbix/enc && \
|
||||||
mkdir -p /var/lib/zabbix/export && \
|
mkdir -p /var/lib/zabbix/export && \
|
||||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
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"
|
exec_sql_file "/usr/share/doc/zabbix-server-postgresql/timescaledb.sql"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
apply_db_scripts "/usr/lib/zabbix/dbscripts/*.sql"
|
|
||||||
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
mkdir -p /var/lib/zabbix && \
|
mkdir -p /var/lib/zabbix && \
|
||||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
|
||||||
mkdir -p /var/lib/zabbix/enc && \
|
mkdir -p /var/lib/zabbix/enc && \
|
||||||
mkdir -p /var/lib/zabbix/export && \
|
mkdir -p /var/lib/zabbix/export && \
|
||||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
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"
|
exec_sql_file "/usr/share/doc/zabbix-server-postgresql/timescaledb.sql"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
apply_db_scripts "/usr/lib/zabbix/dbscripts/*.sql"
|
|
||||||
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -83,7 +83,6 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
|
|||||||
mkdir -p /var/lib/zabbix && \
|
mkdir -p /var/lib/zabbix && \
|
||||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||||
mkdir -p /usr/lib/zabbix/dbscripts && \
|
mkdir -p /usr/lib/zabbix/dbscripts && \
|
||||||
mkdir -p /var/lib/zabbix/dbscripts && \
|
|
||||||
mkdir -p /var/lib/zabbix/enc && \
|
mkdir -p /var/lib/zabbix/enc && \
|
||||||
mkdir -p /var/lib/zabbix/export && \
|
mkdir -p /var/lib/zabbix/export && \
|
||||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
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"
|
exec_sql_file "/usr/share/doc/zabbix-server-postgresql/timescaledb.sql"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
apply_db_scripts "/usr/lib/zabbix/dbscripts/*.sql"
|
|
||||||
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
apply_db_scripts "/var/lib/zabbix/dbscripts/*.sql"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user