🔧 Remove redundant init func calls from entrypoint 🔧
Build and Push / build (push) Failing after 1s

Remove duplicate __initialize_default_templates, __initialize_config_dir,
and __initialize_data_dir calls that were guarded by already-handled
CONFIG_DIR_INITIALIZED/DATA_DIR_INITIALIZED checks.
- rootfs/usr/local/bin/entrypoint.sh: remove 15 lines of redundant init calls

rootfs/usr/local/bin/entrypoint.sh
This commit is contained in:
2026-06-26 23:33:48 -04:00
parent b5bf70962c
commit 98d08d271e
-15
View File
@@ -407,21 +407,6 @@ if [ "$ENTRYPOINT_FIRST_RUN" != "no" ] || [ "$CONFIG_DIR_INITIALIZED" = "no" ] |
# Setup bin directory - /config/bin > /usr/local/bin
__initialize_custom_bin_dir
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Copy default system configs - /usr/local/share/template-files/defaults > /config/
if [ "$CONFIG_DIR_INITIALIZED" = "no" ]; then
__initialize_default_templates
fi
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Copy custom config files - /usr/local/share/template-files/config > /config/
if [ "$CONFIG_DIR_INITIALIZED" = "no" ]; then
__initialize_config_dir
fi
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Copy custom data files - /usr/local/share/template-files/data > /data/
if [ "$DATA_DIR_INITIALIZED" = "no" ]; then
__initialize_data_dir
fi
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Initialize SSL certificates
__initialize_ssl_certs
# - - - - - - - - - - - - - - - - - - - - - - - - -