From 3040a62a71050e53624583bd83b3bffeb6aca9f0 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Mon, 16 Nov 2015 22:34:04 +0300 Subject: Update Dockerfile --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 814b1a6..3daf8b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,11 +7,12 @@ RUN apt-get update && \ WORKDIR /tmp/tgbot-cpp COPY include include COPY src src -COPY test test +#COPY test test COPY CMakeLists.txt ./ -RUN sed -i 's/option(ENABLE_TESTS "Set to ON to enable building of tests" OFF)/option(ENABLE_TESTS "Set to ON to enable building of tests" ON)/g' CMakeLists.txt && \ +#RUN sed -i 's/option(ENABLE_TESTS "Set to ON to enable building of tests" OFF)/option(ENABLE_TESTS "Set to ON to enable building of tests" ON)/g' CMakeLists.txt && \ +RUN \ cmake . && \ make -j4 && \ - ./TgBot_test && \ + #./TgBot_test && \ make install && \ rm -rf /tmp/tgbot-cpp -- cgit v1.2.3