An open API service indexing awesome lists of open source software.

https://github.com/manics/aws-lambda-conda-builder


https://github.com/manics/aws-lambda-conda-builder

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Build custom Conda environments in a container

## Build container

`docker build -t conda-custom-envs .`

## Run container

Create a directory `$ENVDIR` containing a Conda `environment.yml`, and mount this directory to `/build` in the container:

`docker run -it --rm -v "$ENVDIR:/build" conda-custom-envs conda-env-builder environment.yml`

## Platform

Pass `--platform=linux/amd64` if you need to build a AMD64 environment on an ARM64 host.