Browse Source

Add nightly build

feature/nightly-build
Matthew Faltys 5 years ago
parent
commit
e974ca4498
  1. 4
      config.gcfg
  2. 17
      deps/Dockerfile

4
config.gcfg

@ -3,8 +3,8 @@
serverdisplay = "unixvoid.com underground nethack server" serverdisplay = "unixvoid.com underground nethack server"
nethackversion = "3.6.1" nethackversion = "3.6.1"
hackdir = "savedata/hack" hackdir = "savedata/hack"
nhdatlocation = "/usr/lib/games/nethack/nhdat" nhdatlocation = "/NetHack/dat/nhdat"
recoverbinary = "/usr/lib/games/nethack/recover" recoverbinary = "/NetHack/util/recover"
bootstrapdelay = 1 bootstrapdelay = 1
[redis] [redis]

17
deps/Dockerfile vendored

@ -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/

Loading…
Cancel
Save