Merge pull request #2 from pataquets/master
authorFlorian Forster <ff@octo.it>
Mon, 24 Apr 2017 18:33:31 +0000 (20:33 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2017 18:33:31 +0000 (20:33 +0200)
Add Docker support.

Dockerfile [new file with mode: 0644]

diff --git a/Dockerfile b/Dockerfile
new file mode 100644 (file)
index 0000000..7d5bbe6
--- /dev/null
@@ -0,0 +1,16 @@
+FROM gcc
+
+ADD . /usr/src/statsd-tg/
+WORKDIR /usr/src/statsd-tg/
+
+RUN \
+  aclocal && \
+  autoheader && \
+  automake --add-missing --copy && \
+  autoconf && \
+  ./configure && \
+  make && \
+  make install
+
+ENTRYPOINT [ "statsd-tg" ]
+CMD [ "-h" ]