{"id":15978815,"url":"https://github.com/kaczmarj/ants-builds","last_synced_at":"2025-09-03T02:22:39.852Z","repository":{"id":110052845,"uuid":"90290350","full_name":"kaczmarj/ANTs-builds","owner":"kaczmarj","description":"Dockerfile to build ANTs from source","archived":false,"fork":false,"pushed_at":"2020-06-10T15:53:28.000Z","size":880,"stargazers_count":6,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T10:50:31.398Z","etag":null,"topics":["ants","docker","medical-imaging","neuroimaging","registration"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaczmarj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-04T17:24:19.000Z","updated_at":"2023-10-17T00:18:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e2dd5cc-140c-4a96-b356-2c0605c3dda2","html_url":"https://github.com/kaczmarj/ANTs-builds","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kaczmarj/ANTs-builds","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaczmarj%2FANTs-builds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaczmarj%2FANTs-builds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaczmarj%2FANTs-builds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaczmarj%2FANTs-builds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaczmarj","download_url":"https://codeload.github.com/kaczmarj/ANTs-builds/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaczmarj%2FANTs-builds/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273378231,"owners_count":25094745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ants","docker","medical-imaging","neuroimaging","registration"],"created_at":"2024-10-07T23:22:59.145Z","updated_at":"2025-09-03T02:22:39.836Z","avatar_url":"https://github.com/kaczmarj.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ANTs-builds\n\nBuilding Docker images of various versions of [ANTs](https://github.com/ANTsX/ANTs) from source. Images are hosted on [https://hub.docker.com/r/kaczmarj/ants/](https://hub.docker.com/r/kaczmarj/ants/).\n\nThis repository is used by [kaczmarj/neurodocker](https://github.com/kaczmarj/neurodocker).\n\nBecause the installation procedure is the same for most versions of ANTs, a single [Dockerfile](Dockerfile) is used to build multiple versions of ANTs.\n\n\n# Available binaries\n\n- [ants-Linux-centos6_x86_64-v2.3.4.tar.gz](https://dl.dropbox.com/s/gwf51ykkk5bifyj/ants-Linux-centos6_x86_64-v2.3.4.tar.gz)\n- [ants-Linux-centos6_x86_64-v2.3.2.tar.gz](https://dl.dropbox.com/s/hrm530kcqe3zo68/ants-Linux-centos6_x86_64-v2.3.2.tar.gz)\n  - Actually from commit [3d416475b296321dfe5e6cf905e05f197f4afb52](https://github.com/ANTsX/ANTs/commit/3d416475b296321dfe5e6cf905e05f197f4afb52) (bugfix in `antsRegistration`).\n- [ants-Linux-centos6_x86_64-v2.3.1.tar.gz](https://dl.dropbox.com/s/1xfhydsf4t4qoxg/ants-Linux-centos6_x86_64-v2.3.1.tar.gz)\n- [ants-Linux-centos6_x86_64-v2.3.0.tar.gz](https://dl.dropbox.com/s/b3iymb9ml36ecp9/ants-Linux-centos6_x86_64-v2.3.0.tar.gz)\n- [ants-Linux-centos6_x86_64-v2.2.0.tar.gz](https://dl.dropbox.com/s/e4g6r49e2gfnobn/ants-Linux-centos6_x86_64-v2.2.0.tar.gz)\n- [ants-Linux-centos6_x86_64-v2.1.0.tar.gz](https://dl.dropbox.com/s/v0tu5wwl10q35u6/ants-Linux-centos6_x86_64-v2.1.0.tar.gz)\n\n\nCompiled on CentOS 6.10 Docker image, with the following:\n\n- glibc 2.12\n- gcc/g++ 4.9.1\n- make 3.81\n- cmake 3.12.2\n\n\n# Building ANTs\n\nThe following is the command used to build ANTs. Replace `$ants_version` necessary.\n\n```bash\nants_version=v2.2.0\n\ndocker build -t ants:$ants_version \\\n--build-arg ants_version=$ants_version - \u003c Dockerfile \\\n| tee logs/ANTs-Linux-centos6_x86_64-v${ants_version}.log\n```\n\n\n# Getting the binaries\n\nThe binaries can be pulled out of the Docker image by attaching a directory on the local machine to `/tmp/ants` and moving the contents of `/opt/ants` to `/tmp/ants`:\n\n```shell\n$ docker run --rm -v /path/to/local/ants:/tmp/ants ants:2.2.0 mv /opt/ants /tmp/ants\n```\n\nThe binaries can be compressed before extracting to the local machine:\n\n```bash\ndocker run --rm -v /home/ants:/tmp/ants-tar kaczmarj/ants:2.2.0 \\\n/bin/tar czvf /tmp/ants-tar/ants.tar.gz -C /opt ants\n```\n\n# Known issues\n\nIf you cannot run the centos:6 Docker image, the problem could be due to a Linux kernel setting. On a Debian 10 machine, I need to make the following changes before being able to run the centos:6 image (and build the Dockerfile in this project).\n\n```\nsudo vim /etc/default/grub\n# Add 'vsyscall=emulate' to `GRUB_CMDLINE_LINUX_DEFAULT` variable.\nsudo update-grub\n# Reboot\n```\n\nTo undo the above changes, remove `vsyscall=emulate`, run `sudo update-grub`, and reboot.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaczmarj%2Fants-builds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaczmarj%2Fants-builds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaczmarj%2Fants-builds/lists"}