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"