From 3d15083025415d7177d334954643c896d4d59cb6 Mon Sep 17 00:00:00 2001 From: minoplhy Date: Sun, 16 Feb 2025 13:09:10 +0700 Subject: [PATCH] remove unused if condition --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e156be3..173b82a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,8 @@ ARG GIT_URL=https://github.com/RIPE-NCC/ripe-atlas-software-probe.git WORKDIR /root -RUN if [ "$BUILDPLATFORM" != "$TARGETPLATFORM" ]; then \ - apt-get update -y && \ - apt-get install -y git build-essential debhelper libssl-dev autotools-dev psmisc net-tools; \ - fi - +RUN apt-get update -y && \ + apt-get install -y git build-essential debhelper libssl-dev autotools-dev psmisc net-tools RUN git clone --recursive "$GIT_URL" WORKDIR /root/ripe-atlas-software-probe