mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
base: Fix building of OpenSSL. See #73
This commit fixes the following error reported when building the base image. sh: 1: [: =: unexpected operator sh: 1: [: =: unexpected operator It turns out that (1) DEFAULT_DOCKCROSS_IMAGE is not set when building the base image and (2) latest openssl will not be available in linux-x64 and linux-x86 images.
This commit is contained in:
parent
0bc5941bc8
commit
30a73bcd24
@ -10,8 +10,8 @@ WORKDIR /usr/src
|
|||||||
RUN wget https://www.openssl.org/source/openssl-1.0.2j.tar.gz && \
|
RUN wget https://www.openssl.org/source/openssl-1.0.2j.tar.gz && \
|
||||||
tar -xzvf openssl-1.0.2j.tar.gz && \
|
tar -xzvf openssl-1.0.2j.tar.gz && \
|
||||||
cd openssl-1.0.2j && \
|
cd openssl-1.0.2j && \
|
||||||
WRAPPER=$( [ $DEFAULT_DOCKCROSS_IMAGE = "dockcross/manylinux-x86" ] && echo "linux32" || echo "") && \
|
WRAPPER=$( [ "$DEFAULT_DOCKCROSS_IMAGE" = "dockcross/manylinux-x86" ] && echo "linux32" || echo "") && \
|
||||||
CONFIG_FLAG=$( [ $DEFAULT_DOCKCROSS_IMAGE = "dockcross/manylinux-x86" ] && echo "-m32" || echo "") && \
|
CONFIG_FLAG=$( [ "$DEFAULT_DOCKCROSS_IMAGE" = "dockcross/manylinux-x86" ] && echo "-m32" || echo "") && \
|
||||||
${WRAPPER} ./config --prefix=/usr $CONFIG_FLAG && \
|
${WRAPPER} ./config --prefix=/usr $CONFIG_FLAG && \
|
||||||
${WRAPPER} make && \
|
${WRAPPER} make && \
|
||||||
( \
|
( \
|
||||||
|
Loading…
Reference in New Issue
Block a user