summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile11
1 files changed, 6 insertions, 5 deletions
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