summaryrefslogtreecommitdiff
path: root/other/bootstrap_daemon
diff options
context:
space:
mode:
authorMaxim Biro <nurupo.contributions@gmail.com>2017-12-12 21:31:38 -0500
committerMaxim Biro <nurupo.contributions@gmail.com>2017-12-16 03:14:23 -0500
commit418a304c0eeea1c15103d96ab6c372aeec8f4367 (patch)
treee656a85736886c14961b68a84e673abfd6058306 /other/bootstrap_daemon
parente84aefe699a7e8959cea08fe428cafa981b6d85f (diff)
Update tox-bootstrapd Dockerfile
Diffstat (limited to 'other/bootstrap_daemon')
-rw-r--r--other/bootstrap_daemon/docker/Dockerfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/other/bootstrap_daemon/docker/Dockerfile b/other/bootstrap_daemon/docker/Dockerfile
index d4d611b5..500321c0 100644
--- a/other/bootstrap_daemon/docker/Dockerfile
+++ b/other/bootstrap_daemon/docker/Dockerfile
@@ -1,4 +1,4 @@
1FROM debian:jessie 1FROM debian:stretch-slim
2 2
3WORKDIR /tmp/tox 3WORKDIR /tmp/tox
4 4
@@ -16,12 +16,12 @@ RUN export BUILD_PACKAGES="\
16 python3" && \ 16 python3" && \
17 export RUNTIME_PACKAGES="\ 17 export RUNTIME_PACKAGES="\
18 libconfig9 \ 18 libconfig9 \
19 libsodium13" && \ 19 libsodium18" && \
20# get all deps 20# get all deps
21 apt-get update && apt-get install -y $BUILD_PACKAGES $RUNTIME_PACKAGES && \ 21 apt-get update && apt-get install -y $BUILD_PACKAGES $RUNTIME_PACKAGES && \
22# install toxcore and daemon 22# install toxcore and daemon
23 git clone https://github.com/irungentoo/toxcore && \ 23 git clone https://github.com/TokTok/c-toxcore && \
24 cd toxcore && \ 24 cd c-toxcore && \
25 ./autogen.sh && \ 25 ./autogen.sh && \
26 ./configure --enable-daemon && \ 26 ./configure --enable-daemon && \
27 make -j`nproc` && \ 27 make -j`nproc` && \
@@ -39,9 +39,9 @@ RUN export BUILD_PACKAGES="\
39# add bootstrap nodes from https://nodes.tox.chat/ 39# add bootstrap nodes from https://nodes.tox.chat/
40 python3 other/bootstrap_daemon/docker/get-nodes.py >> /etc/tox-bootstrapd.conf && \ 40 python3 other/bootstrap_daemon/docker/get-nodes.py >> /etc/tox-bootstrapd.conf && \
41# perform cleanup 41# perform cleanup
42 export AUTO_ADDED_PACKAGES="$(apt-mark showauto)" && \ 42 apt-get remove --purge -y $BUILD_PACKAGES && \
43 apt-get remove --purge -y $BUILD_PACKAGES $AUTO_ADDED_PACKAGES && \
44 apt-get clean && \ 43 apt-get clean && \
44 apt-get autoremove -y && \
45 rm -rf /var/lib/apt/lists/* && \ 45 rm -rf /var/lib/apt/lists/* && \
46 cd / && \ 46 cd / && \
47 rm -rf /tmp/* 47 rm -rf /tmp/*