mirror of
https://github.com/minoplhy/docker-ripe-atlas.git
synced 2025-04-21 04:16:58 +00:00
if condition fix
This commit is contained in:
parent
14b591d386
commit
4c6c11a6e1
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user