From 6164a9563b1401e53d7b3777ade75b8e46829ae6 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 25 Feb 2023 22:26:26 +0100 Subject: use --quiet flags for installations --- client/Dockerfile | 4 ++-- server/Dockerfile | 4 ++-- 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"] -- cgit v1.2.3