2021-04-15 20:15:46 +02:00
|
|
|
FROM registry.gitlab.com/minetest/minetest/server:latest
|
|
|
|
#ARG NI='aitzol'
|
|
|
|
ARG NI
|
|
|
|
USER root
|
2021-04-16 19:42:22 +02:00
|
|
|
|
|
|
|
#RUN adduser -S $NI -G minetest -u 1000 --disabled-password
|
|
|
|
#RUN chown -R $NI:minetest /var/lib/minetest
|
|
|
|
#RUN chown -R $NI:minetest /etc/minetest
|
|
|
|
#RUN ln -s /etc/minetest/ ~/.minetest
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
#COPY minetest.conf.example /root/.minetest/minetest.conf
|
|
|
|
|
|
|
|
#RUN ln -s /etc/minetest/ ~/.minetest
|
|
|
|
#RUN chown -R -h $NI:minetest ~/.minetest/
|
|
|
|
#RUN chown -R $NI:minetest ~/.minetest
|
|
|
|
#RUN chown -R $NI:minetest /etc/minetest
|
|
|
|
#RUN touch /etc/minetest/minetest.conf
|
|
|
|
#RUN ln -s /etc/minetest/ ~/.minetest
|
|
|
|
#RUN chown -R $NI:minetest ~/.minetest
|
|
|
|
|
|
|
|
#COPY minetest.conf.example /root/.minetest/minetest.conf
|
|
|
|
#CMD cp /usr/local/share/minetest/games/minetest_game/minetest.conf /etc/minetest
|