From 814e0d7a234d2ffc9a0411bacf49b570ff2831cd Mon Sep 17 00:00:00 2001 From: minoplhy Date: Sun, 16 Feb 2025 12:58:36 +0700 Subject: [PATCH] fix if condition --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f19cd7c..d6b99ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ## builder -FROM --platform=$BUILDPLATFORM debian:11-slim as builder +FROM --platform=$BUILDPLATFORM debian:12-slim as builder LABEL image="ripe-atlas-builder" ARG BUILDPLATFORM ARG TARGETPLATFORM @@ -9,8 +9,9 @@ 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 + 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"