{"id":39510645,"url":"https://github.com/koushikeng/miniconda","last_synced_at":"2026-01-18T06:01:53.641Z","repository":{"id":331836812,"uuid":"1132035433","full_name":"KoushikEng/miniconda","owner":"KoushikEng","description":"Docker container with latest miniconda installation on debian","archived":false,"fork":false,"pushed_at":"2026-01-11T09:06:05.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T14:51:12.771Z","etag":null,"topics":["conda","conda-environment","conda-forge","container","debian","docker","miniconda","miniconda3"],"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/KoushikEng.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-11T07:22:48.000Z","updated_at":"2026-01-11T09:06:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/KoushikEng/miniconda","commit_stats":null,"previous_names":["koushikeng/miniconda"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/KoushikEng/miniconda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KoushikEng%2Fminiconda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KoushikEng%2Fminiconda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KoushikEng%2Fminiconda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KoushikEng%2Fminiconda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KoushikEng","download_url":"https://codeload.github.com/KoushikEng/miniconda/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KoushikEng%2Fminiconda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28531991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["conda","conda-environment","conda-forge","container","debian","docker","miniconda","miniconda3"],"created_at":"2026-01-18T06:01:53.476Z","updated_at":"2026-01-18T06:01:53.634Z","avatar_url":"https://github.com/KoushikEng.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Miniconda on Debian\n\nThis Docker image is based on `debian:latest` and installs the latest Miniconda3 distribution.\n\n## Key points\n\n- Installs `wget` to download the Miniconda installer.\n- Downloads Miniconda3 and installs it silently to `/opt/miniconda`.\n- Removes the installer after installation to keep the image small.\n- Adds `/opt/miniconda/bin` to `PATH` via `ENV` so `conda` is available in the container.\n- Runs `conda init --all` so shells started in the container have conda initialized.\n- Sets the container `ENTRYPOINT` to `/bin/bash` (interactive shell).\n\n## Dockerfile summary\n\n- Base: `debian:latest`\n- Miniconda installer: `https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh`\n- Install location: `/opt/miniconda`\n- PATH updated: `/opt/miniconda/bin` added to `PATH`\n- Shell initialization: `conda init --all`\n\n## Usage\n\n### Use the prebuilt image from GHCR\n\nYou can pull and use the already built image directly from GitHub Container Registry:\n\n```bash\ndocker pull ghcr.io/koushikeng/miniconda:latest\n```\n\nRun it:\n\n```bash\ndocker run --rm -it ghcr.io/koushikeng/miniconda:latest\n```\n\n---\n\n### Build the image\n\nBuild the image locally (run from the directory containing this `Dockerfile`):\n\n```bash\ndocker build -t miniconda-debian:latest .\n```\n\nRun an interactive shell with conda available:\n\n```bash\ndocker run --rm -it miniconda-debian:latest\n# then inside the container you can run:\nconda --version\nconda info\n```\n\n---\n\n## Notes\n\n- Miniconda is installed to `/opt/miniconda` and the image modifies shell init files via `conda init` for convenience.\n- If you need a different conda environment or packages, create a Dockerfile that starts `FROM miniconda:latest` and installs what you need.\n\n## Auto accept conda TOS\n\nTo automatically accept the Anaconda Terms of Service (ToS) when *installing packages silently*, you need to configure the `conda-anaconda-tos` plugin using one of three methods. These methods are particularly useful for automated workflows and CI/CD environments.\n\n### Methods to Auto-Accept the ToS\n\nYou can use a command-line flag, set an environment variable, or modify your `.condarc` file.\n\n- **Using the command line (Conda \u003e= 25.5.0):**  \n    Run the following command in your terminal to set the configuration:\n  \n    ```bash\n    conda config --set plugins.auto_accept_tos yes\n    ```\n\n    This modifies your `.condarc` file to persist the setting.\n\n- **Setting an environment variable:**  \n  Set the `CONDA_PLUGINS_AUTO_ACCEPT_TOS` environment variable to `\"yes\"` or `\"1\"`. This is often the most suitable method for Dockerfiles or CI/CD pipelines.\n  \n  - **In Bash/Zsh:**\n\n    ```bash\n    export CONDA_PLUGINS_AUTO_ACCEPT_TOS=yes\n    ```\n\n  - **In a Dockerfile:**\n\n    ```dockerfile\n    ENV CONDA_PLUGINS_AUTO_ACCEPT_TOS=yes\n    ```\n\n### Modifying the `.condarc` file\n\nAdd the following lines to your .condarc file to configure auto acceptance:\n\n```yaml\nplugins:\n  auto_accept_tos: true\n```\n\nYou can locate your `.condarc` file using the `conda config --show-sources` command.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoushikeng%2Fminiconda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoushikeng%2Fminiconda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoushikeng%2Fminiconda/lists"}