diff options
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 |