-add docker entrypoint
authorSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>
Wed, 25 Oct 2017 12:26:08 +0000 (14:26 +0200)
committerSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>
Wed, 25 Oct 2017 12:26:08 +0000 (14:26 +0200)
Dockerfile
docker-entrypoint.sh [new file with mode: 0644]

index 375c76c4b84ddfbc9e06fce9bdd250c3190f3bd8..044222d807f51b9431e672c75bc7b7e0494bb147 100644 (file)
@@ -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 (file)
index 0000000..807d86d
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/bash
+gnunet-arm -s > $HOME/gnunet.log 2>&1
+exec bash
\ No newline at end of file