Commit Graph

41 Commits

Author SHA1 Message Date
Jia Yuan Lo a07d211041 scripts(setup-ubuntu): add apt.llvm.org repo
Bump to LLVM 16
2024-02-25 00:02:51 +08:00
Fredrik Fornwall 7b5492eb9c enhance(scripts/Dockerfile): Split out cgct installation
Avoiding to install cgct shrinks builder image size with 1.5 GB.

For cgct builds, switch from:

        ghcr.io/termux/package-builder:latest

to:

        ghcr.io/termux/package-builder-cgct:latest
2023-10-07 00:41:30 +02:00
Fredrik Fornwall 96cf024c17 fix(scripts/Dockerfile): Make build more portable
This change fixes building the builder docker image also on systems
that does not have an existing user with id 1001.
2023-10-05 13:06:18 +02:00
Ivan Max a46e3e9357
build-package.sh: adding compilation based on glibc (#16901)
[skip ci]
2023-08-30 23:40:08 +03:00
Ivan Max a8f68eb882
package-builder: adding the CGCT tool (#17686) 2023-08-23 16:42:22 +03:00
Henrik Grimler 9d695d6f4b
scripts(setup-ubuntu.sh): install openjdk-17 from ppa repo
This is necessary if we are to build openjdk-17 after update of docker
image to ubuntu 22.04.
2022-07-30 14:34:07 +02:00
Leonid Pliushch c532fff051
chore(scripts/Dockerfile): update comments about build/push 2022-07-23 13:35:31 +03:00
Leonid Pliushch 314c6a8aff
enhance(scripts/Dockerfile): upgrade ubuntu version
Ubuntu 21.10 reached its end of life.
2022-07-23 13:35:31 +03:00
Leonid Pliushch 2205ad383e
fix(scripts/Dockerfile): add missing "&&" 2022-07-23 00:28:39 +03:00
Leonid Pliushch c4041bcf45
enhance(scripts/Dockerfile): set builder user id to 1001
This will speed up builds on GitHub Actions since runner user id is 1001.
2022-07-23 00:25:51 +03:00
Henrik Grimler 348c980d53
Dockerfile: remove unused parts of sdk and ndk in setup-android-sdk instead
Dockerfile setup script doesn't know exactly which ndk/sdk version we
are using, so can't cd to the right folder now that the version is
part of the folder name.
2022-04-25 22:04:41 +02:00
Henrik Grimler ad4ca4acc4
Dockerfile: copy termux_download.sh to docker image as well
Since it is now used by setup-android-sdk.sh.
2022-04-25 21:50:50 +02:00
Henrik Grimler c31ee772c2
Update docker image to Ubuntu 21.10
A ./build-all.sh -i finishes successfully.  (There seem to be some
issue with the build-all script where some packages are not built
though)
2022-02-08 11:48:43 +01:00
Lucy Phipps bbdaa639f7
update docker image to Ubuntu 21.04 2022-02-08 11:48:36 +01:00
Lucy Phipps 0255ee9793
fix Dockerfile and setup-ubuntu.sh 2021-10-05 16:40:30 +01:00
Fredrik Fornwall 36ef3dcba8 Update docker image to Ubuntu 20.04 2020-05-06 09:27:49 +02:00
Leonid Pliushch 57e645f227 Revert "docker image: try to fix issue with Android SDK & Java 11"
This reverts commit f860eeba3a.
2020-03-08 21:42:47 +02:00
Leonid Pliushch 1cfcd0dd26 docker image: try to fix issue with Android SDK & Java 11 2020-03-08 21:34:23 +02:00
Leonid Pliushch b20be8a115 docker image: install locales and configure en_US.UTF-8 as default 2020-01-04 00:19:59 +02:00
Fredrik Fornwall eb53d8d447 Dockerfile: Update from ubuntu 19.04 to 19.10 2019-11-21 00:36:24 +01:00
Leonid Pliushch 783069ef67 Revert "Shrink docker image (#3362)"
Breaks patching of headers.

This reverts commit 53c281c5e4.
2019-11-10 17:15:33 +02:00
Wetitpig 83796081a9 Shrink docker image (#3362)
* Docker rm Android NDK Version 16-19

* Docker remove vulkan and shaderc too

* Docker remove duplicate files

* Separate Docker clean script

* Docker remove templates

* Docker bz2 large notices

* Docker try symlinks

* Docker preserve some SDK Libraries

* Docker rm fonts and resources from platforms

* Docker source properties.sh
2019-11-10 16:41:19 +02:00
Fredrik Fornwall 499687c9fe Update docker image to ubuntu 19.04 and llvm 8 2019-04-27 22:48:18 +02:00
Wetitpig 5bbab4a259 Switch User in Docker 2019-02-24 21:08:38 +02:00
Wetitpig 72eaf12358 Dockerfile to tabs 2019-02-15 18:01:09 +02:00
Wetitpig 4e9a1891ba 3 COPY to 1 2019-02-15 17:27:41 +02:00
Fredrik Fornwall dac82cc5d4 Dockerfile: Update from ubuntu 18.04 to 18.10 2018-11-27 00:25:40 +01:00
Fredrik Fornwall 0eb957e0e4 Dockerfile: Clean up for ndk r18 2018-09-27 01:06:34 +02:00
Fredrik Fornwall b3f68a9b5c Update build tools version to 28.0.2
Also extract setting ndk and build tools version to
scripts/properties.sh to avoid duplication.
2018-08-15 16:52:18 +02:00
Fredrik Fornwall 9ccc908e26 Update to ubuntu 18.04 in docker image 2018-05-02 23:01:29 +02:00
Fredrik Fornwall d1776d92e7 Remove NDK gnu-libstdc from the docker image 2017-11-19 14:40:31 +01:00
Fredrik Fornwall ffc53c3978 Update the ubuntu build setup from 17.04 to 17.10
An updated image has been pushed to the docker hub, so update with

./scripts/update-docker.sh
2017-11-02 10:18:05 +01:00
Fredrik Fornwall 369f1e26e3 Do not remove libc++ in Dockerfile setup 2017-07-15 02:25:12 +02:00
Fredrik Fornwall 167405240b Dockerfile: Do not remove non android-21 platforms 2017-07-07 12:23:13 +02:00
Fredrik Fornwall e00dfc00e1 Make ubuntu 17.04 the reference build environment 2017-04-20 09:00:02 +02:00
Fredrik Fornwall 05e29c5b69 Dockerfile: Switch from ADD to COPY 2017-02-02 01:35:53 +01:00
Fredrik Fornwall e59984067b Use non-root user when using docker
We now use a non-root user when building packages using a docker
container. This allows detecting misconfigured packages which try
to install files outside of $TERMUX_PREFIX or otherwise mess with
the system during a build.
2017-01-22 23:13:48 +01:00
Fredrik Fornwall 65512d6058 Dockerfile: Update from ubuntu 16.04 to 16.10 2017-01-15 19:43:49 +01:00
Fredrik Fornwall b59e03ab08 Remove stray char in comment 2016-10-07 13:56:46 -04:00
Fredrik Fornwall 5b7c3ff6d3 Minor comment cleanups of Dockerfile 2016-10-07 13:37:10 -04:00
Fredrik Fornwall 88183689ef Build and docker updates 2016-05-27 18:24:50 -04:00