https://github.com/agnostiqhq/covalent-docker-dev
Dockerfiles used for building and developing Covalent in various environments
https://github.com/agnostiqhq/covalent-docker-dev
build-automation containers covalent docker github-container-registry
Last synced: 5 months ago
JSON representation
Dockerfiles used for building and developing Covalent in various environments
- Host: GitHub
- URL: https://github.com/agnostiqhq/covalent-docker-dev
- Owner: AgnostiqHQ
- License: apache-2.0
- Created: 2022-07-22T15:53:11.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T17:40:29.000Z (about 1 year ago)
- Last Synced: 2024-09-12T02:48:34.666Z (about 1 year ago)
- Topics: build-automation, containers, covalent, docker, github-container-registry
- Language: Dockerfile
- Homepage: https://covalent.xyz
- Size: 27.3 KB
- Stars: 3
- Watchers: 10
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Covalent Docker Development Images
This repository contains a set of Dockerfiles which can be used to develop, build, and run Covalent. These images will not change very often, as they are used to set up build environments but do not include the actual dependencies of Covalent. The following environments are included:
- All combinations of Debian 11, 12, and Python 3.9, 3.10, 3.11
To build a single one of these images locally, e.g., Debian 12 with Python 3.10, run the following:
```
docker build ./debian12-py310
```To build all images and upload them to ECR, use the Makefile:
```
make
make clean # Deletes the local images
```To pull an image from ECR and use it:
```
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin xxxxxxxxxxxxx.dkr.ecr.us-east-1.amazonaws.com
docker pull xxxxxxxxxxxxx.dkr.ecr.us-east-1.amazonaws.com/covalent-bld:debian12-py310
```Run the image and clone Covalent, and then install it:
```
docker run --rm -it -p 8080:48008 covalent-bld:debian12-py310 /bin/bash
git clone https://github.com/AgnostiqHQ/covalent.gitpython setup.py webapp
pip install -e .
covalent start
```You can either submit workflows to port 48008 on `0.0.0.0` from directly inside the container, or you can submit them from the Docker host to port `8080`.
Don't forget to run `git config` inside the container if you intend to commit any changes!