From 5718a6ff2e3611d463b7f2e5ef98390455273265 Mon Sep 17 00:00:00 2001 From: Montana Mendy Date: Sun, 12 Mar 2023 16:22:52 -0700 Subject: [PATCH] add `--no-install-recommends \` for time saving --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5d29bd0..8a3068b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM sres.web.boeing.com:5000/ubuntu:bionic RUN set -ex \ - && apt-get update \ - && apt-get install -y \ + && apt-get update -y --no-install-recommends \ + && apt-get install -y --no-install-recommends \ git \ curl \ ninja-build \ @@ -39,4 +39,3 @@ RUN cd /root/cartographer \ && cd build \ && cmake .. -DABSEIL_TAR_PATH=/root/abseil-cpp.tar.gz -DCMAKE_PREFIX_PATH=/root/protobuf/build/install -DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTS:BOOL=On \ && make -j4 -