From 1bdb34ce7d9075f14d6c8b3656344c8f1db9057c Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Wed, 12 Aug 2015 14:12:15 +0300 Subject: Dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile 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 -- cgit v1.2.3