aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-02-25 22:26:26 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-02-25 22:26:26 +0100
commit6164a9563b1401e53d7b3777ade75b8e46829ae6 (patch)
tree0f3282146445b608ae7c5e2e2a34b5e133cb5d8c
parentbuild for Mac's M1 also (diff)
downloadmath-server-6164a9563b1401e53d7b3777ade75b8e46829ae6.tar.gz
math-server-6164a9563b1401e53d7b3777ade75b8e46829ae6.zip
use --quiet flags for installations
-rw-r--r--client/Dockerfile4
-rw-r--r--server/Dockerfile4
2 files changed, 4 insertions, 4 deletions
diff --git a/client/Dockerfile b/client/Dockerfile
index e18ecd9..6927dcb 100644
--- a/client/Dockerfile
+++ b/client/Dockerfile
@@ -11,7 +11,7 @@ ARG src_dir
COPY [".", "$src_dir"]
RUN build_deps='bash boost-dev cmake g++ make python3' && \
- apk add --no-cache $build_deps && \
+ apk add -q --no-cache $build_deps && \
cd -- "$src_dir" && \
make install CONFIGURATION=Release CMAKE_FLAGS='-D MATH_SERVER_TESTS=ON -D Boost_USE_STATIC_LIBS=OFF'
@@ -23,7 +23,7 @@ ARG src_dir
COPY --from=builder ["$src_dir/.build/install", "/opt/math-server"]
RUN runtime_deps='boost-filesystem boost-program_options boost-regex boost-unit_test_framework libstdc++' && \
- apk add $runtime_deps && \
+ apk add -q --no-cache $runtime_deps && \
/opt/math-server/bin/math-server-unit-tests --log_level=all
ENTRYPOINT ["/opt/math-server/bin/math-client"]
diff --git a/server/Dockerfile b/server/Dockerfile
index 69bf49a..d64f251 100644
--- a/server/Dockerfile
+++ b/server/Dockerfile
@@ -11,7 +11,7 @@ ARG src_dir
COPY [".", "$src_dir"]
RUN build_deps='bash boost-dev cmake g++ make python3' && \
- apk add --no-cache $build_deps && \
+ apk add -q --no-cache $build_deps && \
cd -- "$src_dir" && \
make install CONFIGURATION=Release CMAKE_FLAGS='-D MATH_SERVER_TESTS=ON -D Boost_USE_STATIC_LIBS=OFF'
@@ -23,7 +23,7 @@ ARG src_dir
COPY --from=builder ["$src_dir/.build/install", "/opt/math-server"]
RUN runtime_deps='boost-filesystem boost-program_options boost-regex boost-unit_test_framework libstdc++' && \
- apk add $runtime_deps && \
+ apk add -q --no-cache $runtime_deps && \
/opt/math-server/bin/math-server-unit-tests --log_level=all
CMD ["/opt/math-server/bin/math-server"]