mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Forgot -u for UID
This commit is contained in:
parent
a9184368c1
commit
2cab10e906
@ -26,7 +26,7 @@ ENV ES_HOME=/usr/share/elasticsearch-$ES_VERSION \
|
|||||||
DEFAULT_ES_USER_UID=$DEFAULT_ES_USER_UID \
|
DEFAULT_ES_USER_UID=$DEFAULT_ES_USER_UID \
|
||||||
ES_JAVA_OPTS="-Xms1g -Xmx1g"
|
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"]
|
VOLUME ["/data","/conf"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user