From bc44eb0e64dc5def0f9200f2f6329dc0798d5905 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Wed, 25 Oct 2017 14:26:08 +0200 Subject: [PATCH] -add docker entrypoint --- Dockerfile | 4 ++++ docker-entrypoint.sh | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 docker-entrypoint.sh diff --git a/Dockerfile b/Dockerfile index 375c76c4b..044222d80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,3 +56,7 @@ RUN groupadd gnunetdns RUN adduser --system -m --home-dir /var/lib/gnunet gnunet RUN chown gnunet:gnunet /var/lib/gnunet RUN echo '[arm]\nSYSTEM_ONLY = YES\nUSER_ONLY = NO\n' > /etc/gnunet.conf + +ADD docker-entrypoint.sh . + +CMD ["sh", "docker-entrypoint.sh"] diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh new file mode 100644 index 000000000..807d86d6f --- /dev/null +++ b/docker-entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/bash +gnunet-arm -s > $HOME/gnunet.log 2>&1 +exec bash \ No newline at end of file -- 2.25.1