0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-04 01:19:30 +00:00
termux-packages/scripts/Dockerfile.cgct
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

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