mirror of
https://github.com/hashicorp/vault.git
synced 2026-07-07 08:15:08 -04:00
The entrypoint scripts assumed they always started as root. After the Dockerfile switched to USER vault, setcap fails with EPERM and the container exits before vault ever runs. This change adds an explicit non-root branch so that: - SKIP_SETCAP / SKIP_CHOWN warnings are still printed - VAULT_DISABLE_MLOCK is honoured - the vault binary is executed directly instead of via su-exec Fixes #31919 Signed-off-by: goingforstudying-ctrl <goingforstudying-ctrl@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| docker-entrypoint.sh | ||
| docker_entrypoint_test.go | ||
| Dockerfile | ||
| Dockerfile.ui | ||