diff options
author | Oleg Morozenkov <omorozenkov@gmail.com> | 2015-11-16 22:34:04 +0300 |
---|---|---|
committer | Oleg Morozenkov <omorozenkov@gmail.com> | 2015-11-16 22:34:04 +0300 |
commit | 3040a62a71050e53624583bd83b3bffeb6aca9f0 (patch) | |
tree | f7c6e44583ee3c4d720d66a16869c9e88adb354e /Dockerfile | |
parent | c2fd9b5b3fe10b140b8064761021d3b77fa1b6d7 (diff) |
Update Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |