Remove redundancy

As DEBIAN_FRONTEND has been set as environment variable, there is no need to use DEBIAN_FRONTEND=noninteractive inside RUN lines, it is redundant, hence it has been removed.
This commit is contained in:
calvin_peyron
2025-08-11 17:11:21 +02:00
parent b3675be33a
commit bc9ae55723
16 changed files with 33 additions and 33 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ FROM ubuntu:xenial AS oai-cppcheck
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
build-essential \ build-essential \
vim \ vim \
cppcheck cppcheck
@@ -33,8 +33,8 @@ ARG TARGET_BRANCH
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
gawk \ gawk \
git git
+2 -2
View File
@@ -36,8 +36,8 @@ ENV UHD_VERSION=4.4.0.0
#install developers pkg/repo #install developers pkg/repo
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
#gcc needed for build_oai #gcc needed for build_oai
build-essential \ build-essential \
ccache \ ccache \
+3 -3
View File
@@ -34,7 +34,7 @@ ENV SIMDE_VERSION=389f360a66d4a3bec62b7d71ad8be877487809ba
#install developers pkg/repo #install developers pkg/repo
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
#enabling arm64 architecture #enabling arm64 architecture
dpkg --add-architecture arm64 && \ dpkg --add-architecture arm64 && \
echo "deb [arch=arm64] http://ports.ubuntu.com/ noble main restricted\n" \ echo "deb [arch=arm64] http://ports.ubuntu.com/ noble main restricted\n" \
@@ -49,8 +49,8 @@ RUN apt-get update && \
sed -i -E "s/(deb)\ (http:.+)/\1\ [arch=amd64]\ \2/" /etc/apt/sources.list && \ sed -i -E "s/(deb)\ (http:.+)/\1\ [arch=amd64]\ \2/" /etc/apt/sources.list && \
sed -i '/^Components:/a Architectures: amd64' /etc/apt/sources.list.d/ubuntu.sources && \ sed -i '/^Components:/a Architectures: amd64' /etc/apt/sources.list.d/ubuntu.sources && \
apt-get update && \ apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
build-essential \ build-essential \
psmisc \ psmisc \
git \ git \
@@ -32,8 +32,8 @@ ARG KPM_VERSION=KPM_V3_00
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe ENV TZ=Europe
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
meson \ meson \
wget \ wget \
xz-utils \ xz-utils \
+2 -2
View File
@@ -32,8 +32,8 @@ ARG KPM_VERSION=KPM_V3_00
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe ENV TZ=Europe
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
meson \ meson \
wget \ wget \
xz-utils \ xz-utils \
+2 -2
View File
@@ -37,8 +37,8 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
software-properties-common \ software-properties-common \
procps \ procps \
libsctp1 \ libsctp1 \
+2 -2
View File
@@ -64,8 +64,8 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe ENV TZ=Europe
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
software-properties-common \ software-properties-common \
procps \ procps \
libsctp1 \ libsctp1 \
@@ -63,8 +63,8 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe ENV TZ=Europe
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
software-properties-common \ software-properties-common \
procps \ procps \
libsctp1 \ libsctp1 \
+2 -2
View File
@@ -43,8 +43,8 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe ENV TZ=Europe
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
procps \ procps \
libsctp1 \ libsctp1 \
tzdata \ tzdata \
+2 -2
View File
@@ -37,8 +37,8 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe ENV TZ=Europe
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
software-properties-common \ software-properties-common \
procps \ procps \
pkg-config \ pkg-config \
+2 -2
View File
@@ -37,8 +37,8 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
software-properties-common \ software-properties-common \
procps \ procps \
libsctp1 \ libsctp1 \
+2 -2
View File
@@ -36,8 +36,8 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
tzdata \ tzdata \
procps \ procps \
software-properties-common \ software-properties-common \
+2 -2
View File
@@ -37,8 +37,8 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
software-properties-common \ software-properties-common \
procps \ procps \
libsctp1 \ libsctp1 \
+2 -2
View File
@@ -36,8 +36,8 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe ENV TZ=Europe
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
libsctp1 \ libsctp1 \
libconfig9 \ libconfig9 \
iproute2 \ iproute2 \
+2 -2
View File
@@ -37,8 +37,8 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ apt-get upgrade --yes && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes \ apt-get install --yes \
software-properties-common \ software-properties-common \
procps \ procps \
libsctp1 \ libsctp1 \