10 lines
273 B
Docker
10 lines
273 B
Docker
#Dockerfile
|
|
FROM registry.gitlab.com/minetest/minetest/server:latest
|
|
ARG NI
|
|
USER root
|
|
|
|
RUN adduser -S $NI -G minetest -u 1000 --disabled-password \
|
|
&& chown -R $NI:minetest /var/lib/minetest \
|
|
&& chown -R $NI:minetest /etc/minetest \
|
|
&& ln -s /etc/minetest/ ~/.minetest
|