{"id":20640129,"url":"https://github.com/maresb/clean-forge","last_synced_at":"2026-04-18T22:31:39.099Z","repository":{"id":107326900,"uuid":"299746756","full_name":"maresb/clean-forge","owner":"maresb","description":"Add a clean and customizable conda to a Docker image","archived":false,"fork":false,"pushed_at":"2020-11-15T18:15:25.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T11:38:06.007Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/maresb.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":"2020-09-29T21:54:59.000Z","updated_at":"2020-11-15T18:15:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"486d1a08-1c83-4bbc-9049-405d080b4924","html_url":"https://github.com/maresb/clean-forge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maresb/clean-forge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maresb%2Fclean-forge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maresb%2Fclean-forge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maresb%2Fclean-forge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maresb%2Fclean-forge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maresb","download_url":"https://codeload.github.com/maresb/clean-forge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maresb%2Fclean-forge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31987719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-16T15:28:03.547Z","updated_at":"2026-04-18T22:31:38.888Z","avatar_url":"https://github.com/maresb.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clean-forge\nAdd a clean and customizable conda to a Docker image\n\n(in development)\n\n## Motivation\n\n**[Anaconda](https://www.anaconda.com/)** is the industry standard tool for package management and reproducible environments in data science. Unlike [pip](https://pypi.org/project/pip/) and relatives, Anaconda takes package management beyond Python, allowing for the installation of external (non-Python) dependencies, such as linear algebra libraries. That is why Anaconda is the recommended method for [installing packages such as numpy](https://numpy.org/install/).\n\nAnaconda is rather bloated for usage in small projects, but thankfully there is a [minimalist version called **Miniconda**](https://docs.conda.io/en/latest/miniconda.html).\n\nThe package manager at the core of Anaconda and Miniconda is called **`conda`**. It performs sophisticated satisfiability checks to determine which packages to install, and is implemented in Python.\n\nFor projects with a large number of dependencies, `conda` is obscenely slow. [**Mamba**](https://github.com/mamba-org/mamba) reimplements conda in C++, solving these performance issues.\n\nAdding to the complexity in the Conda world, in addition to the default package channel, there is a community-maintained channel called [**`conda-forge`**](https://conda-forge.org/) which in general is larger and better maintained.\n\nFor purposes of CI/CD, it's desirable to have several alternative Docker containers available, based on a wide variety of possible configurations. For example: \n* various base images (and with various version tags):\n  * [`alpine`](https://hub.docker.com/_/alpine)\n  * [`debian`](https://hub.docker.com/_/debian)\n  * [`ubuntu`](https://hub.docker.com/_/ubuntu)\n* various Python versions:\n  * 2.7\n  * 3.6\n  * 3.7\n  * 3.8\n  * 3.9\n  * none (unlike Conda, Mamba has no dependency on Python)\n\nAlthough far from widespread, it is considered best practice with Docker to run containers as a **non-root user**.\n\nFinally, bash scripting is atrociously archaic, with painful syntax and innumerable pitfalls. The [**xonsh**](https://xon.sh/) project is a Python-centric shell and scripting language which is mostly backwards-compatible with bash.\n\nClean-forge aims to provide a basis for extending existing Docker images with\n* **Mamba** as a package manager\n* **Conda-forge** as the default package channel\n* Prebuilt images based on various combinations of base images and versions of Python\n* **Xonsh** as an available shell for sane scripting\n* A configurable **user account** with access to all these tools\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaresb%2Fclean-forge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaresb%2Fclean-forge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaresb%2Fclean-forge/lists"}