if condition fix

This commit is contained in:
minoplhy 2025-02-16 13:07:34 +07:00
parent 14b591d386
commit 4c6c11a6e1
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF

View File

@ -8,9 +8,9 @@ ARG GIT_URL=https://github.com/RIPE-NCC/ripe-atlas-software-probe.git
WORKDIR /root WORKDIR /root
RUN if [ "$BUILDPLATFORM" != "$TARGETPLATFORM" ] ; then \ RUN if [ "$BUILDPLATFORM" != "$TARGETPLATFORM" ]; then \
apt-get update -y \ apt-get update -y && \
apt-get install -y git build-essential debhelper libssl-dev autotools-dev psmisc net-tools apt-get install -y git build-essential debhelper libssl-dev autotools-dev psmisc net-tools; \
fi fi
RUN git clone --recursive "$GIT_URL" RUN git clone --recursive "$GIT_URL"