https://github.com/manics/aws-lambda-conda-builder
https://github.com/manics/aws-lambda-conda-builder
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/manics/aws-lambda-conda-builder
- Owner: manics
- License: mit
- Created: 2024-02-28T17:13:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-02T09:00:31.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T00:46:45.880Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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.