Commit Graph

33 Commits

Author SHA1 Message Date
ad924d922b Improve openSSL on android-* image
Improve openSSL on android-* image

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-27 13:19:31 +02:00
8bc72c75d3 Add ANDROID_NDK_HOME env variable and enable openssl
Add ANDROID_NDK_HOME env variable and enable openssl

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-27 13:13:48 +02:00
Jonas Vautherin
19322baed2 Move to llvm for NDK 23 2021-08-26 12:16:31 +02:00
dd60bbb440 Fix wrong url
Fix wrong url

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-21 22:54:17 +02:00
8c081be13b Update android NDK to r23 (August 2021)
Update android NDK to r23 (August 2021)

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-21 20:48:52 +02:00
5663ada809 Use env variable instead hardcoded variable in toolchain.cmake
Use env variable instead hardcoded variable in toolchain.cmake

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-12 21:38:43 +02:00
Jean-Christophe Fillion-Robin
68b4549a50 Introduce "common.label-and-env"
This will simply the removal of deprecated "org.label-schema" annotation [1]
and the introduction of open containers ones [2]

[1] http://label-schema.org/rc1/
[2] https://github.com/opencontainers/image-spec/blob/master/annotations.md
2021-04-18 19:15:26 +02:00
Jean-Christophe Fillion-Robin
1fb2785377 Rename Dockerfile to Dockerfile.in to ensure consistency
All Dockerfiles are now configured similarly, this will support
future improvements.
2021-04-18 19:15:26 +02:00
Jean-Christophe Fillion-Robin
369d828efd Dockerfile: Remove unused default value associated IMAGE build argument 2021-04-18 19:15:26 +02:00
Jean-Christophe Fillion-Robin
8469056c36
Merge pull request #479 from dockcross/update-android-ndk
Update Android NDK to latest stable: 22b
2021-04-17 17:44:53 -06:00
Pushen Wang
7c1413a496 Define CMAKE_SYSTEM_PROCESSOR in Toolchain.cmake for Android build. 2021-04-07 10:47:37 +02:00
Jonas Vautherin
894f712305 Update Android NDK to latest stable: 22b 2021-04-07 10:45:33 +02:00
Aaron Bray
659b6afecb Adroid support updates
Updated NDK revision
Specified ARCH ABI
Add linker flags to support users of the android os log utility
2020-08-05 07:52:28 -04:00
Jonas Vautherin
02dcaef714 Update Toolchain.cmake to use BOTH for CMAKE_FIND_ROOT_PATH_MODES
For android-arm, android-arm64 and linux-armv6
2019-07-18 12:03:07 +02:00
Matt McCormick
c96cbdc956
versioning: Set DEFAULT_DOCKCROSS_IMAGE based on the image tag
This ensures that the dockcross script will continue to use the specific
tagged version of the image that generates it.
2019-01-16 23:25:52 -05:00
Anton Chernov
eb65a8970a Added fortran compiler
* Added FC to all Dockerfiles
* Changed cmake toolchains to use environment variables for compilers
2018-05-25 18:34:23 +02:00
Nadav
f8e034ee01
Update Dockerfile 2018-03-28 11:43:22 +03:00
Nadav
71dfbcc509
Update Dockerfile 2018-03-18 11:10:47 +02:00
Nadav
e362e021de
Update Dockerfile 2018-03-15 10:27:46 +02:00
Nadav.Ruskin
f8cabb2edb Added ANDROID_NDK_API 2018-03-15 08:46:43 +01:00
Nadav.Ruskin
6fb4121ea9 Android: Use clang 2018-03-15 08:36:06 +01:00
Jean-Christophe Fillion-Robin
286e6b5c95
Dockerfile: Explicitly depend on "dockcross/base:latest"
As recommended in by CircleCI, explicitly specify the "latest"
tag. This will be important when we will start versioning our images.

Copied from CircleCI documentation [1]:

"Make sure you tag the image you use in the FROM command in your
Dockerfile, even if it is the default “latest” tag. Otherwise, Docker
will pull down all tags for the image you specify. This will create
significant performance problems because the save/load strategy described
above only caches the image layers (and thus tags) that you specify in
the docker save command, so other tags will be re-pulled on every build
if a tag is not specified in the FROM command."

[1] https://circleci.com/docs/docker/#caching-docker-layers
2016-11-26 18:25:08 -05:00
Matt McCormick
a138f60ab6 android-arm: Update NDK to 13b and API to 16
API level 16 still covers the majority of systems:

  https://developer.android.com/about/dashboards/index.html

  https://developer.android.com/ndk/guides/stable_apis.html
2016-11-16 16:23:33 -05:00
Matt McCormick
0d3333a3e1 android-arm: Add CMake 3.7 toolchain file support
See:

  https://cmake.org/cmake/help/v3.7/manual/cmake-toolchains.7.html#cross-compiling-for-android-with-a-standalone-toolchain
2016-11-16 15:14:17 -05:00
Jean-Christophe Fillion-Robin
cfcc7d6700
dockerfile: Keep track of buildtime metadata
This commit build each images with the following arguments:

* IMAGE: Name of the image (e.g dockcross/base, dockcross/manylinux-x64, ...)
* VCS_REF: dockcross/dockcross commit from which this image is built
* VCS_URL: this repository obtained reading remote.origin.url
* BUILD_DATE: Date and time when the build was initiated

Then, within the Dockerfile, the metadata are associated with the image
using the "LABEL" instruction.
See https://docs.docker.com/engine/reference/builder/#/label

The corresponding labels can be found here:
http://label-schema.org/rc1/#build-time-labels

See #28
2016-10-30 23:57:04 -04:00
Matt McCormick
04c7d0de18 Rename project and repository to dockcross 2016-07-15 23:46:08 -04:00
Matt McCormick
8b07afd442 android-arm: Fix file permissions on toolchain files 2016-07-05 21:45:44 -04:00
Matt McCormick
fdb18671e3 dockcross: make the default image specific to each compiler 2016-07-04 00:10:36 -04:00
Matt McCormick
f9f7f1b387 android-arm: Add standard toolchain environmental variables. 2016-03-07 11:37:18 -05:00
Matt McCormick
c0e72eefa8 Remove extra slash in front of CROSS_ROOT paths. 2015-06-04 23:01:06 -04:00
Matt McCormick
f3b2cbb199 android-arm: Update toolchain and provide Toolchain.cmake. 2015-05-16 13:36:10 -04:00
Steeve Morin
703053871c
Use base image, add Makefile, compress RUN statements to save on disk space
Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
2014-10-17 13:42:56 +02:00
Steeve Morin
2b82f22e0b First commit 2014-10-12 13:21:43 +02:00