dockcross/imagefiles
Jean-Christophe Fillion-Robin 0552c37fea
common.docker: Improve OpenSSL and CMake install introducing helper scripts
To accommodate the requirements associated with x86 and x64 images, the
command building OpenSSL and CMake became overly complex and hard to
maintain.

This commit has multiple purposes:

(1) simplify common.docker

(2) fix the building of 64-bit shared libraries against the static openssl
libraries by passing the -fPIC flag.

(3) ensure [many]linux-x86 and [many]linux-x64 images have an up-to-date
OpenSSL install. Openssl static libraries are installed in /usr

(4) simplify and speedup CMake build avoiding the second build with
explicit -DCMAKE_USE_OPENSSL:BOOL=ON. Indeed, configuring CMake on Linux
already looks for OpenSSL.

(5) speedup download of CMake source directly downloading the archive
corresponding to the revision.

(6) test CMake by:
  - running CMake.FileDownload test
  - trying to download a file served over https
2016-11-21 06:08:30 -05:00
..
.bashrc base: support BUILDER_USER, BUILDER_GROUP, and liquidprompt bash 2016-07-04 22:03:10 -04:00
ccmake.sh base/cmake: Do not pass toolchain option when using incompatible cmake option 2016-09-21 21:11:33 -04:00
cmake.sh base/cmake: Do not pass toolchain option when using incompatible cmake option 2016-09-21 21:11:33 -04:00
dockcross quote HOST_PWD in docker cmd to allow spaces 2016-11-17 21:19:54 -08:00
entrypoint.sh doc: We support Docker for Mac and Docker for Windows 2016-11-16 19:08:04 -08:00
install-cmake.sh common.docker: Improve OpenSSL and CMake install introducing helper scripts 2016-11-21 06:08:30 -05:00
install-openssl.sh common.docker: Improve OpenSSL and CMake install introducing helper scripts 2016-11-21 06:08:30 -05:00