mirror of
https://github.com/minoplhy/docker-ripe-atlas.git
synced 2025-04-21 12:26:59 +00:00
fix if condition
This commit is contained in:
parent
fe9e2e3cf2
commit
814e0d7a23
@ -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
|
||||
@ -11,6 +11,7 @@ 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 git clone --recursive "$GIT_URL"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user