diff options
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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 |