[minecraft-server] Issue #9: explicitly adding user in container with UID=1000

This commit is contained in:
Geoff Bourne committed 2015-01-03 14:17:05 +00:00
1 parent 052f80d849
commit bc9afcd659
3 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ RUN update-alternatives --install /usr/bin/js js /usr/bin/js24 100
RUN wget -O /usr/bin/jsawk https://github.com/micha/jsawk/raw/master/jsawk
RUN chmod +x /usr/bin/jsawk
RUN useradd -M -s /bin/false minecraft \
RUN useradd -M -s /bin/false --uid 1000 minecraft \
&& mkdir /data \
&& chown minecraft:minecraft /data