summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2015-11-16 22:34:04 +0300
committerOleg Morozenkov <omorozenkov@gmail.com>2015-11-16 22:34:04 +0300
commit3040a62a71050e53624583bd83b3bffeb6aca9f0 (patch)
treef7c6e44583ee3c4d720d66a16869c9e88adb354e /Dockerfile
parentc2fd9b5b3fe10b140b8064761021d3b77fa1b6d7 (diff)
Update Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 4 insertions, 3 deletions
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