From 4e813fe8dd66bb2aa852046364ce8b58a28f4ab4 Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Fri, 5 Apr 2024 16:26:59 +0300 Subject: [PATCH] [improve][misc] Specify a valid home directory for the default user in the docker container --- docker/pulsar/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/pulsar/Dockerfile b/docker/pulsar/Dockerfile index 10bd2b5ee2675..b899fb6182829 100644 --- a/docker/pulsar/Dockerfile +++ b/docker/pulsar/Dockerfile @@ -110,5 +110,5 @@ RUN chmod +x /pulsar/bin/install-pulsar-client.sh RUN /pulsar/bin/install-pulsar-client.sh # The UID must be non-zero. Otherwise, it is arbitrary. No logic should rely on its specific value. -RUN useradd ${DEFAULT_USERNAME} -u 10000 -g 0 +RUN useradd ${DEFAULT_USERNAME} -u 10000 -g 0 --no-create-home --home-dir /pulsar/data USER 10000