文件
2026-11-20 15:32:57 +08:00

11 行
356 B
Bash

#!/usr/bin/env bash
set -euo pipefail
# Nacos' upstream Docker entrypoint enables `set -x`, which expands the auth
# token in its environment checks. Keep the upstream script unchanged while
# routing only its shell trace to /dev/null so normal application logs remain.
exec 9>/dev/null
export BASH_XTRACEFD=9
exec bash /home/nacos/bin/docker-startup.sh