summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2015-08-12 14:12:15 +0300
committerOleg Morozenkov <omorozenkov@gmail.com>2015-08-12 14:12:15 +0300
commit1bdb34ce7d9075f14d6c8b3656344c8f1db9057c (patch)
treec9646897d53eb5726d911a70d03e8a0ad85d8f9a
parente3490d65bb824a9b4ee0fdc0872753fa295b1087 (diff)
Dockerfile
-rw-r--r--Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..2ae3146
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,13 @@
+FROM debian:latest
+MAINTAINER Oleg Morozenkov
+
+RUN apt-get update && apt-get install g++ make binutils cmake libssl-dev libboost-system-dev libboost-iostreams-dev libboost-test-dev
+
+WORKDIR /tmp/tgbot
+COPY include ./
+COPY src ./
+COPY CMakeLists.txt ./
+RUN cmake .
+RUN make -j4
+RUN make install
+RUN rm -rf /tmp/tgbot \ No newline at end of file