-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Linux aarch64/arm64 support for bioconda-utils (#866)
This PR try to add Linux aarch64/arm64 support for bioconda-utils: - Support `BASE_IMAGE` build args in `Dockerfile`: the devs can specify `BASE_IMAGE` to switch base image. - `bioconda_utils/bioconda_utils-requirements.txt`: Upgrade packages version to support Linux aarch64. - Add `--docker-base-image` image to help users specify docker base image. - Add Linux aarch64 image build to `release-please.yml` and `build-image.yml` workflow - `bioconda_utils/docker_utils.py`: create conda build subdir according to arch. After this PR, users can build the bioconda package by using same cmd with x86 by specifing `--docker-base-image` to build the package. Note that the `mulled-test` are still not supported, there are a circle dependency between `bioconda-containers` and bioconda-utils, we'd better to support bioconda-utils aarch64 image first. Related: #706 Test step: ```bash $ uname -m aarch64 # Activate a conda env conda create -n biotest conda activate biotest git clone https://github.com/Yikun/bioconda-utils.git cd bioconda-utils git checkout aarch64 # Build docker image with embed involucro for bioconda docker build -t ghcr.io/yikun/bioconda-utils-build-env-cos7-aarch64 -f Dockerfile . # Install all bioconda-utils conda install --file bioconda_utils/bioconda_utils-requirements.txt -c conda-forge -c bioconda # Install the bioconda-utils with this PR pip install -e . # Test bioconda-utils -h # Build a package to test cd bioconda-recipes bioconda-utils build --docker --packages bamstats --docker-base-image ghcr.io/yikun/bioconda-utils-build-env-cos7-aarch64 --force ``` --------- Signed-off-by: Yikun Jiang <[email protected]>
- Loading branch information
Showing
7 changed files
with
72 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters