summaryrefslogtreecommitdiff
path: root/samples/echobot/Dockerfile
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2015-08-12 19:59:52 +0300
committerOleg Morozenkov <omorozenkov@gmail.com>2015-08-12 20:00:20 +0300
commit88b945b907eee025e33b259c95a61c7fe5d213c0 (patch)
tree9d9a928155da4d5351fb143bc8b6489f9bfca0bd /samples/echobot/Dockerfile
parentf94a2dd6c2832c6ba0379d4c8eec367b25a4a2e2 (diff)
Make the samples independent of the library's CMakeLists
Diffstat (limited to 'samples/echobot/Dockerfile')
-rw-r--r--samples/echobot/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/samples/echobot/Dockerfile b/samples/echobot/Dockerfile
new file mode 100644
index 0000000..8d8bca5
--- /dev/null
+++ b/samples/echobot/Dockerfile
@@ -0,0 +1,9 @@
+FROM reo7sp/tgbot-cpp
+MAINTAINER Oleg Morozenkov
+ENV REFRESHED_AT 2015-08-12
+
+WORKDIR /tmp/echobot
+COPY . .
+RUN cmake .
+RUN make -j4
+CMD ./echobot