From 4c6c11a6e14c38e79bbaf6c8d85068700e27d15d Mon Sep 17 00:00:00 2001 From: minoplhy Date: Sun, 16 Feb 2025 13:07:34 +0700 Subject: [PATCH] if condition fix --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index d6b99ee..e156be3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,10 +8,10 @@ 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 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 git clone --recursive "$GIT_URL"