Docker: Fix security finding (#5655)
- Use --no-install-recommends to avoid getting more deps than neededpull/5652/head^2
parent
ddb74c2bbd
commit
fe6e25080b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue