Browse Source

Add stable redis version to docker

pull/1/head
Matthew Faltys 5 years ago
parent
commit
a6a0e72a00
  1. 2
      Makefile
  2. 2
      deps/Dockerfile

2
Makefile

@ -46,6 +46,8 @@ build_docker: fetch_sotw
cp deps/chowner.sh stage.tmp/ cp deps/chowner.sh stage.tmp/
cp deps/run_nethack.sh stage.tmp/ cp deps/run_nethack.sh stage.tmp/
cp deps/reclist.c stage.tmp/ cp deps/reclist.c stage.tmp/
wget -O stage.tmp/redis-server https://cryo.unixvoid.com/bin/redis/5.0.7/redis-server
chmod +x stage.tmp/redis-server
cd stage.tmp/ && \ cd stage.tmp/ && \
$(OS_PERMS) docker build -t $(IMAGE_NAME) . $(OS_PERMS) docker build -t $(IMAGE_NAME) .

2
deps/Dockerfile vendored

@ -3,7 +3,6 @@ FROM debian:stretch
# install needed packages # install needed packages
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \ DEBIAN_FRONTEND=noninteractive apt-get install -y \
redis-server \
openssh-server \ openssh-server \
autoconf \ autoconf \
bison \ bison \
@ -100,6 +99,7 @@ RUN gcc reclist.c -o /bin/reclist
RUN rm reclist.c RUN rm reclist.c
# copy in files # copy in files
COPY redis-server /usr/bin/
COPY config.gcfg / COPY config.gcfg /
COPY nethack-launcher / COPY nethack-launcher /
COPY redis.conf / COPY redis.conf /

Loading…
Cancel
Save