No description
| bin | ||
| images | ||
| docker-compose.yml | ||
| dockerfile | ||
| README.md | ||
| README_task.md | ||
Image Compare
Build
docker build . -t image-compare
Run
docker compose run --rm image-compare
Info
The base dockerfile runs Ubuntu 20.04 and installs dependencies for Perl and Python3.
You can run the docker compose file to mount the images directory and run the Python image-compare script.
Assumptions
- The images folder only contains images. Improvements could add checks for file type.
imagesfolder is flexible so I've used docker compose to mount the folder in the container.
Improvements
- Consider using Alpine as a base image for the docker image rather than Ubuntu.
- Consider using a Perl base image and adding Python3 during build.
- Github Workflow to build image to push to Docker Hub, ECR or GCP Container Registry