Docker: Fix security finding (#5655)

- Use --no-install-recommends to avoid getting more deps than needed
pull/5652/head^2
Kim Kulling 2024-07-05 13:43:50 +02:00 committed by GitHub
parent ddb74c2bbd
commit fe6e25080b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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