You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
436 B
24 lines
436 B
FROM debian |
|
|
|
# install needed packages |
|
RUN apt-get update && \ |
|
DEBIAN_FRONTEND=noninteractive apt-get install -y \ |
|
ttyrec \ |
|
nethack-console \ |
|
redis-server \ |
|
vim |
|
|
|
# make required dirs |
|
RUN mkdir -p /redisbackup/ |
|
|
|
# update nethack bin location |
|
RUN mv /usr/games/nethack /bin/nethack |
|
|
|
# copy in files |
|
COPY config.gcfg / |
|
COPY nethack-launcher / |
|
COPY reclist /bin/ |
|
COPY redis.conf / |
|
COPY run.sh / |
|
|
|
CMD ["/run.sh"]
|
|
|