|
|
@ -27,18 +27,19 @@ RUN apt-get clean |
|
|
|
|
|
|
|
|
|
|
|
# TODO |
|
|
|
# TODO |
|
|
|
# nightly instructions |
|
|
|
# nightly instructions |
|
|
|
# git clone https://github.com/NetHack/NetHack.git |
|
|
|
# |
|
|
|
# cd NetHack |
|
|
|
RUN git clone https://github.com/NetHack/NetHack.git |
|
|
|
# sys/unix/setup.sh sys/unix/hints/linux |
|
|
|
RUN cd NetHack && \ |
|
|
|
# make all |
|
|
|
sys/unix/setup.sh sys/unix/hints/linux && \ |
|
|
|
# make install |
|
|
|
make all |
|
|
|
# find /* -name nethack |
|
|
|
RUN find /* -name nethack |
|
|
|
|
|
|
|
RUN chmod 777 /NetHack/sys/unix/sysconf |
|
|
|
|
|
|
|
|
|
|
|
# make required dirs |
|
|
|
# make required dirs |
|
|
|
RUN mkdir -p /redisbackup/ |
|
|
|
RUN mkdir -p /redisbackup/ |
|
|
|
|
|
|
|
|
|
|
|
# update nethack bin location |
|
|
|
## update nethack bin location |
|
|
|
RUN mv /usr/games/nethack /bin/nethack |
|
|
|
RUN cp /NetHack/src/nethack /bin/nethack |
|
|
|
RUN chmod 777 /bin/nethack |
|
|
|
RUN chmod 777 /bin/nethack |
|
|
|
RUN mkdir /hack/ |
|
|
|
RUN mkdir /hack/ |
|
|
|
|
|
|
|
|
|
|
|