diff options
| author | Richard Mortier <mort@cantab.net> | 2019-04-26 19:43:02 +0100 |
|---|---|---|
| committer | Richard Mortier <mort@cantab.net> | 2019-04-26 19:44:30 +0100 |
| commit | 5d0da8bd98bdaa38880c9ceded785e028e1cd83f (patch) | |
| tree | f9103fe1d93e3316c169c03d6d82516a8c04e57a /README.md | |
| parent | feffc23d469fd3e24e46c12325441034fb07a616 (diff) | |
| download | docker-abuild-5d0da8bd98bdaa38880c9ceded785e028e1cd83f.tar.bz2 docker-abuild-5d0da8bd98bdaa38880c9ceded785e028e1cd83f.tar.xz | |
abuild: rename to avoid clash on alpine systems
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -4,24 +4,24 @@ A Docker-ised `abuild` for invocation from within an `aports/` tree. Attempts to ## Configuration -The `abuild` script is generated from `abuild.in` on `make build`. This ensures synchronisation of volume names. By default, the `abuild` script then uses the Docker image `mor1/abuild`; set the `IMG` variable in the `Makefile` and `make build` to use a different image. +The `dabuild` script is generated from `dabuild.in` on `make build`. This ensures synchronisation of volume names. By default, the `dabuild` script then uses the Docker image `mor1/abuild`. To use a different image, set the `IMG` variable in the `Makefile` and then `make build`. -On invocation from within an `aports/` tree, the script will determine the root of the tree (`.../aports/`) and bind mount it into the container at `/home/builder/aports`. It also bind mounts `$HOME/.abuild` for configuration. +On invocation from within an `aports/` tree, the script will determine the root of the tree (`.../aports/`) and bind mount it into the container at `/home/builder/aports`. It also bind mounts `$HOME/.abuild` for configuration and `.../aports/../packages` for `abuild` output packages. ## Building without fetching -Per normal usage, if you use the `-K` switch, then the build, source, etc directories will be left alone on completion. If you then invoke as `abuild build`, then the source will not be re-fetched -- useful when you wish to edit the source to debug a package build. +Per normal usage, if you use the `-K` switch, then the build, source, etc directories will be left alone on completion. If you then invoke as `dabuild build`, then the source will not be re-fetched -- useful when you wish to edit the source to debug a package build. ## Caching The script attempts to support caching via named volumes. To turn on caching, invoke as ``` shell -DOCKER_ABUILD_CACHE=true abuild [options] +DABUILD_CACHE=true abuild [options] ``` To clean the cache before continuing, invoke as ``` shell -DOCKER_ABUILD_CACHE=true DOCKER_ABUILD_CLEAN=true abuild [options] +DABUILD_CACHE=true DABUILD_CLEAN=true abuild [options] ``` |
