summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2016-04-18 00:10:00 +0300
committerOleg Morozenkov <omorozenkov@gmail.com>2016-04-18 00:10:00 +0300
commit6a7b90d1b1c434eea3d167fa02e6ae449c415676 (patch)
tree08c68825c3c3aa8c470e1eba6bc1c38be7cb1df1
parent5f2ea8897acf29523264dff8108ad483324138e4 (diff)
Decrease verbosity while building docker image
-rw-r--r--Dockerfile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index 3daf8b1..9e37311 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,18 +1,15 @@
FROM debian:latest
MAINTAINER Oleg Morozenkov
-RUN apt-get update && \
- apt-get install -y g++ make binutils cmake libssl-dev libboost-system-dev libboost-iostreams-dev libboost-test-dev
+RUN apt-get -qq update && \
+ apt-get -qq install -y g++ make binutils cmake libssl-dev libboost-system-dev libboost-iostreams-dev libboost-test-dev
WORKDIR /tmp/tgbot-cpp
COPY include include
COPY src src
-#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 \
cmake . && \
make -j4 && \
- #./TgBot_test && \
make install && \
rm -rf /tmp/tgbot-cpp