From: Schanzenbach, Martin Date: Wed, 25 Oct 2017 12:26:08 +0000 (+0200) Subject: -add docker entrypoint X-Git-Tag: gnunet-0.11.0rc0~24^2~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bc44eb0e64dc5def0f9200f2f6329dc0798d5905;p=oweals%2Fgnunet.git -add docker entrypoint --- 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