fix if condition

This commit is contained in:
minoplhy 2025-02-16 12:58:36 +07:00
parent fe9e2e3cf2
commit 814e0d7a23
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF

View File

@ -1,5 +1,5 @@
## builder ## builder
FROM --platform=$BUILDPLATFORM debian:11-slim as builder FROM --platform=$BUILDPLATFORM debian:12-slim as builder
LABEL image="ripe-atlas-builder" LABEL image="ripe-atlas-builder"
ARG BUILDPLATFORM ARG BUILDPLATFORM
ARG TARGETPLATFORM ARG TARGETPLATFORM
@ -11,6 +11,7 @@ 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
RUN git clone --recursive "$GIT_URL" RUN git clone --recursive "$GIT_URL"