|
|
|
@ -3,13 +3,36 @@ FROM debian
|
|
|
|
|
# install needed packages |
|
|
|
|
RUN apt-get update && \ |
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y \ |
|
|
|
|
nethack-console \ |
|
|
|
|
redis-server \ |
|
|
|
|
openssh-server \ |
|
|
|
|
g++ \ |
|
|
|
|
autoconf \ |
|
|
|
|
bison \ |
|
|
|
|
bsdmainutils \ |
|
|
|
|
flex \ |
|
|
|
|
gcc \ |
|
|
|
|
git \ |
|
|
|
|
groff \ |
|
|
|
|
libncursesw5-dev \ |
|
|
|
|
libsqlite3-dev \ |
|
|
|
|
make \ |
|
|
|
|
ncurses-dev \ |
|
|
|
|
sqlite3 \ |
|
|
|
|
tar \ |
|
|
|
|
telnetd \ |
|
|
|
|
xinetd \ |
|
|
|
|
locales \ |
|
|
|
|
git \ |
|
|
|
|
vim |
|
|
|
|
RUN apt-get clean |
|
|
|
|
|
|
|
|
|
# TODO |
|
|
|
|
# nightly instructions |
|
|
|
|
# git clone https://github.com/NetHack/NetHack.git |
|
|
|
|
# cd NetHack |
|
|
|
|
# sys/unix/setup.sh sys/unix/hints/linux |
|
|
|
|
# make all |
|
|
|
|
# make install |
|
|
|
|
# find /* -name nethack |
|
|
|
|
|
|
|
|
|
# make required dirs |
|
|
|
|
RUN mkdir -p /redisbackup/ |
|
|
|
|