Fixed the error with /bin/sh

This commit is contained in:
Esun Kim 2019-12-18 09:54:04 -08:00
parent 71437e2604
commit 04cf3a10d8

View File

@ -18,7 +18,7 @@ COPY \
/buildscripts/
RUN \
X86_FLAG=$([[ "$DEFAULT_DOCKCROSS_IMAGE" =~ dockcross/manylinux.*-x86 ]] && echo "-32" || echo "-XX") && \
X86_FLAG=$([ "$DEFAULT_DOCKCROSS_IMAGE" = "dockcross/manylinux1-x86" -o "$DEFAULT_DOCKCROSS_IMAGE" = "dockcross/manylinux2010-x86" ] && echo "-32" || echo "") && \
/buildscripts/build-and-install-openssl.sh $X86_FLAG && \
/buildscripts/build-and-install-openssh.sh && \
/buildscripts/build-and-install-curl.sh && \