Correcting the location of packages

- net-tools and iproute2 package were getting installed only for sanitized build.
This commit is contained in:
Sagar Arora
2024-01-31 15:50:46 +01:00
parent 513f060fa7
commit b4bc9a8a52
+2 -2
View File
@@ -40,12 +40,12 @@ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \
libsctp1 \
libconfig9 \
iproute2 \
net-tools \
openssl && \
# if the --sanitize option was used to build, additional packages are required
/bin/bash -c 'if [[ "$BUILD_OPTION" = "--sanitize" ]]; then DEBIAN_FRONTEND=noninteractive apt-get install --yes \
libasan5 \
iproute2 \
net-tools \
libubsan1 \
liblapacke; fi' && \
rm -rf /var/lib/apt/lists/*