Explorar o código

Docker: Fix security finding (#5655)

- Use --no-install-recommends to avoid getting more deps than needed
Kim Kulling hai 1 ano
pai
achega
fe6e25080b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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