From 440675a41e9f2d0b921680a84ef518dc882f9d47 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Mon, 23 Aug 2021 15:42:23 +0200 Subject: [PATCH] added create homedirectory flag to useradd --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 749c17a..61d3c2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update && apt-get upgrade -y # add user that will be used to install and run the application RUN groupadd -g 1000 deploy -RUN useradd -u 1000 -g deploy deploy +RUN useradd -m -u 1000 -g deploy deploy # install required packages for debugging # RUN apt-get install -y vim curl lsof