PetteriAimonen / focus-stack

Fast and easy focus stacking
MIT License
294 stars 43 forks source link

Create Dockerfile #35

Closed barakplasma closed 1 year ago

barakplasma commented 1 year ago

to use it:

install docker build image $ docker build . -t focus-stack:latest

then run any way you like $ docker run -it --rm focus-stack:latest image1.png image2.png or $ docker run -it --rm -v $PWD/images_to_stack:/mnt/photos focus-stack bash -c "focus-stack --output=/mnt/photos/res.png /mnt/photos/A1ROI1_IMG-IN-WELL-1Z*.png"

PetteriAimonen commented 1 year ago

I'm not sure it makes sense to include a Dockerfile that hardcodes one specific revision. Maybe it would make more sense to have one that actually builds the software?

For just running the software, you could use the AppImage which should work on most Linux distributions without need of installing dependencies.

barakplasma commented 1 year ago

I re-wrote the Dockerfile to build focus-stack from master in https://github.com/PetteriAimonen/focus-stack/pull/35/commits/e944d75d434e253557f3bb6451403b0bb7db80cb

PetteriAimonen commented 1 year ago

Thanks.