Cereal84 / AnadiCSV

A tool to execute SQL query on CSV file
MIT License
8 stars 7 forks source link

Check if the Docker/Podman image already exists #24

Open Cereal84 opened 1 month ago

Cereal84 commented 1 month ago

We can avoid the build command checking if a Docker/Podman image called anadi already exists.

faresbouzayen commented 1 month ago

Hi @Cereal84! I’d be excited to work on the feature that checks if a Docker/Podman image named "anadi" already exists before initiating a build. This would streamline the process and save resources.

Plan: Check for Existing Images: I’ll add a function to query existing images in Docker/Podman to see if "anadi" is already available. Conditional Build Command: If the image exists, I’ll modify the script to skip the build command and provide feedback to the user. Testing: I’ll ensure to test the functionality to confirm that it correctly identifies existing images and behaves as expected. If there are any particular constraints or guidelines to keep in mind, please let me know. Looking forward to contributing!

Cereal84 commented 1 month ago

Hi @faresbouzayen, Your plan is good for me :). I assign this issue to you.

P.S. unfortunately there is no guideline except you should try to use the same code style in bash script.

For any idea, questions etc please feel free to write here in this thread.

Cereal84 commented 3 weeks ago

Hi @faresbouzayen, is everything fine ? Do you have some news ? Do you need some help ?