Under the epic to remove dockerfiles and workflow setup for devstack, dockerfiles were moved to this repository.
This respoitory aims to streamline all the dockerfiles and docker images publishing from a single source. Images for the following services are included in this repo.
- commerce-coordinator
- code-jail
- course-discovery
- credentials
- ecommerce
- edx-analytics-dashboard
- edx-analytics-data-api
- edx-exams
- edx-notes-api
- edx-platform
- enterprise-access
- enterprise-subsidy
- enterprise-catalog
- license-manager
- portal-designer
- program-intent-engagement
- registrar
- xqueue
We can locally build and test the images. Following steps are to be taken to test the images.
- Clone the repository
- Build the image using following command
docker build -t <image-name>:<tag> --target <target> -f <path-to-your-dockerfile> . --progress=plain
you can go with your custom tag for testing. - Once the image is built, you can run the container for that image using the following command
docker container run --name <name-for-container> <name-of-image-built>
- Once the container runs, you can enter the shell using command
docker exec -it <container-name> <shell-executable>
- You can run commands in shell and test if the image is is built correctly and container is running smoothly.
├── dockerfiles/
│ ├── ida1.Dockerfile
│ ├── ida2.Dockerfile
│ ├── ...
│ └── idaN.Dockerfile
├── workflows/
│ └── push-docker-images.yml
├── README.md
└── .gitignore
In case you receive an email informing you regarding failure to publish the image, please refer to this document.
If you wish to contribute to the repository either optimizing workflows or updating dockerfiles, please create an issue against the work you want to take up. Once tested image locally, raise a PR and request review from arbi-bom team. If you are changing dockerfiles of any particular IDA, it's advisable to get a review from the owner team as well. IDAs ownership and team info can be found at this sheet.