Przeglądaj źródła

Docker: Fix security finding (#5655)

- Use --no-install-recommends to avoid getting more deps than needed
Kim Kulling 1 rok temu
rodzic
commit
fe6e25080b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -1,6 +1,6 @@
 FROM ubuntu:22.04
 FROM ubuntu:22.04
 
 
-RUN apt-get update && apt-get install -y ninja-build \
+RUN apt-get update && apt-get install --no-install-recommends -y ninja-build \
     git cmake build-essential software-properties-common
     git cmake build-essential software-properties-common
 
 
 RUN add-apt-repository ppa:ubuntu-toolchain-r/test && apt-get update 
 RUN add-apt-repository ppa:ubuntu-toolchain-r/test && apt-get update