Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: recover --docker-base-image feature (#906)
In the #866 we introduced the `--docker-base-image` to help user to specify customized build docker image (such as Linux aarch64 build). But we noticed that it doesn’t work after the #894 , because a local var introduced and the `docker-base-image` arguments is ignored. This PR try to recover it, if user specify the `--docker-base-image`, it will be used directly otherwise use the local var. Test: ``` [root@kunpeng bioconda-recipes]# bioconda-utils build --docker --packages bamstats --docker-base-image ghcr.io/yikun/bioconda-utils-build-env-cos7-aarch64 11:50:12 BIOCONDA INFO Considering total of 1 recipes (bamstats). 11:50:12 BIOCONDA INFO Processing 1 recipes (bamstats). 11:50:12 BIOCONDA WARNING Using tag 2.3.4 for docker image, since there is no image for a not yet release version (2.3.4+0.g9a85115.dirty). 11:50:12 BIOCONDA INFO Using docker image ghcr.io/yikun/bioconda-utils-build-env-cos7-aarch64 for building. // ... ... ``` Signed-off-by: Yikun Jiang <[email protected]>
- Loading branch information