From 2cab10e906a5a3f12021161486ecbab0a04d63ed Mon Sep 17 00:00:00 2001 From: Arne Riemann Date: Sun, 16 Jul 2017 16:09:28 +0200 Subject: [PATCH] Forgot -u for UID --- elasticsearch/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/Dockerfile b/elasticsearch/Dockerfile index c987e8fe..0141f1cd 100755 --- a/elasticsearch/Dockerfile +++ b/elasticsearch/Dockerfile @@ -26,7 +26,7 @@ ENV ES_HOME=/usr/share/elasticsearch-$ES_VERSION \ DEFAULT_ES_USER_UID=$DEFAULT_ES_USER_UID \ ES_JAVA_OPTS="-Xms1g -Xmx1g" -RUN adduser -S -s /bin/sh $DEFAULT_ES_USER +RUN adduser -S -s /bin/sh -u $DEFAULT_ES_USER_UID $DEFAULT_ES_USER VOLUME ["/data","/conf"]