mirror of
https://github.com/termux/termux-packages.git
synced 2025-03-04 01:19:30 +00:00
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
11 lines
481 B
Docker
11 lines
481 B
Docker
# First, build the base image (see Dockerfile) if necessary
|
|
# - if that is not built locally, the remote image will be pulled.
|
|
# Then, build with:
|
|
# docker build -t ghcr.io/termux/package-builder-cgct --file Dockerfile.cgct .
|
|
# Push to GitHub registry with:
|
|
# docker push ghcr.io/termux/package-builder-cgct
|
|
# This is done after changing this file or any of the
|
|
# scripts/setup-{ubuntu,android-sdk,cgct}.sh setup scripts.
|
|
FROM ghcr.io/termux/package-builder
|
|
RUN /tmp/setup-cgct.sh
|