minetest_docker/Dockerfile
2021-04-16 20:15:53 +02:00

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