vault/scripts/docker
goingforstudying-ctrl 6e9e5af091 wip: docker entrypoint mlock fix for non-root containers
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>
2026-06-26 18:05:48 -04:00
..
docker-entrypoint.sh wip: docker entrypoint mlock fix for non-root containers 2026-06-26 18:05:48 -04:00
docker_entrypoint_test.go wip: docker entrypoint mlock fix for non-root containers 2026-06-26 18:05:48 -04:00
Dockerfile dockerfile: ensure user directive gets set for vault alpine and ubi containers (#12920) (#13080) 2026-03-18 16:13:42 -04:00
Dockerfile.ui Update node to version 20 (#27080) 2024-05-16 16:02:01 +00:00