diff options
-rw-r--r-- | Dockerfile | 13 |
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 |