Commit graph

17 commits

Author SHA1 Message Date
link2xt
350cd0539c build: update NDK to r27
If we are dropping Android 4 support anyway,
can as well upgrade to the current LTS NDK
which requires API level 21 (Android 5.0).
2024-11-11 16:22:55 +00:00
link2xt
b642c05861 Dockerfile: update to Java 17 and Debian stable
It is required by Gradle now.
2024-01-17 10:39:41 +00:00
Hocuri
2a23d0826c
Improve readme (#2504)
to prevent this problem in the future:
https://support.delta.chat/t/building-instruction-on-github-page-arent-working/2081/27

Supersedes #2285, but
1. doesn't require the Readme to be updated the NDK is updated
2. Adapted to the changes to Dockerfile.
2023-03-21 21:00:16 +01:00
link2xt
6ac1984f7c ndk-make.sh: use full path to ndk-build
Remove the requirement to have ndk-build in the PATH.
2022-08-14 17:46:03 +00:00
link2xt
af772762ef Update to Android NDK r23c
Android NDK is updated from legacy ndk-bundle stuck at unsupported
r22b to LTS NDK r23c (23.2.8568313).

Since GNU binutils have been removed from NDK since r23 (see
https://github.com/android/ndk/wiki/Changelog-r23), ndk-make.sh now
uses TARGET_AR=llvm-ar and uses a workaround for `-lgcc` requirement.

Android command line tools used in the Dockerfile are updated to build
8512546

Preview APKs now use NDK r23c too.
2022-05-28 16:11:11 +00:00
Hocuri
ac5c35f6e5
Explain Podman setup better for new users (#1844)
* Specify docker.io to pull from

* Add some info about Podman + a troubleshooting section to the readme
2021-03-26 13:55:12 +01:00
Alexander Krotov
8cb879af2e Dockerfile: build as non-root user 2020-11-14 18:04:00 +03:00
Alexander Krotov
9686536695 Dockerfile: set ANDROID_NDK_ROOT 2020-11-03 19:57:31 +03:00
Alexander Krotov
18a19f98b6 Refactor ndk-make.sh 2020-11-03 02:28:36 +03:00
Alexander Krotov
44976fc779 Dockerfile: replace ANDROID_HOME with ANDROID_SDK_ROOT
Page https://developer.android.com/studio/command-line/variables
says ANDROID_HOME is deprecated and replaced with ANDROID_SDK_ROOT.
2020-10-29 12:49:52 +03:00
Alexander Krotov
638e4d4ef0 Move docker/cargo-config into Dockerfile ENV directives
Having everything in a single file is easier to manage.
2020-10-29 12:49:52 +03:00
Alexander Krotov
3b4ed28269 Add scripts/install-toolchains.sh 2020-10-21 14:02:57 +03:00
missytake
8558a298a1 get rust-toolchain from core repository 2020-05-31 12:35:26 +02:00
missytake
6c54462084
updated rust toolchain in Dockerfile 2020-05-30 17:15:28 +02:00
missytake
18c54ae18e updated docker toolchain 2020-04-21 13:10:14 +02:00
Alexander Krotov
aee9324a83 Update Dockerfile to build Rust core 2020-03-14 17:55:14 +03:00
B. Petersen
b1a00a03d2 Initial commit 🌱 2018-08-14 17:20:46 +02:00