From adf1a76a439c627346960100c17de47920306bc4 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Wed, 12 Aug 2015 14:26:02 +0300 Subject: Dockerfile --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 2ae3146..278867b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,14 @@ FROM debian:latest MAINTAINER Oleg Morozenkov +ENV REFRESHED_AT 2015-08-12 -RUN apt-get update && apt-get install g++ make binutils cmake libssl-dev libboost-system-dev libboost-iostreams-dev libboost-test-dev +RUN apt-get update && apt-get install -y g++ make binutils cmake libssl-dev libboost-system-dev libboost-iostreams-dev libboost-test-dev -WORKDIR /tmp/tgbot -COPY include ./ -COPY src ./ +WORKDIR /tmp/tgbot-cpp +COPY include include +COPY src src COPY CMakeLists.txt ./ RUN cmake . RUN make -j4 RUN make install -RUN rm -rf /tmp/tgbot \ No newline at end of file +RUN rm -rf /tmp/tgbot-cpp \ No newline at end of file -- cgit v1.2.3