Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.43 KB

README.md

File metadata and controls

33 lines (27 loc) · 1.43 KB

docker-crosstool-ng

pipeline status

Docker images for crosstool-ng

Pre-built images

Pre-built images can be found on Docker hub at bverhagen/crosstool-ng.

The tags are structured in the following way:

<distribution>_<crosstool-ng version>

where:

  • <distribution> is the desired base distribution to use for crosstool-ng. Currently supported distributions are:
    • Debian: Latest stable and testing
    • Ubuntu: Latest LTS and latest stable
  • <crosstool-ng version> is the target crosstool-ng version to use. If you want to automatically follow the latest stable crosstool-ng release, use latest.

Usage

  1. Pull the desired pre-built image

  2. Make sure the desired input and output folder (CT_PREFIX_DIR variable in your crosstool-ng config) is writable by all users

  3. Run the image by:

    • Mounting the input and output folder in the container
    • appending crosstool-ng specific commands to the end of the command line
    $ docker run --rm --volume=<host output folder>:<CT_PREFIX_DIR>:rw --volume=<host input folder>:/workspace:rw ctng-example "--directory=/workspace" build
    

    Note: Make sure to to replace all variables between angular brackets <> with their respective values.