rawtoaces icon indicating copy to clipboard operation
rawtoaces copied to clipboard

PR: Add "Dockerfile".

Open KelSolaar opened this issue 4 years ago • 1 comments

This PR adds a Dockerfile to run rawtoaces in a container with Docker:

Assuming that you have Docker and this PR pulled:

Building the Container

Note that the compilation of ceres-solver requires a significant amount of memory, well over the 2Go that Docker allocates by default. Thus you will need to increase the memory in Docker preferences: Preferences --> Resources --> Advanced, 8Go should be enough.

docker build -f "Dockerfile" -t rawtoaces:latest "."

Running the Container

docker run -it --rm -v $PWD:/tmp -w /tmp rawtoaces:latest rawtoaces IMG_1234.CR2

KelSolaar avatar Mar 31 '20 09:03 KelSolaar

as a bit of an aside, I've tweaked your dockerfile to make it a little more robust, and shrunk the final image by not including developer tools. note, however, that my version isn't suitable as a pull request since I've hardcoded certain commits to checkout (including those that come from a fork (#108)), but I welcome anyone to adapt it. https://gist.github.com/notwa/89e05a60ea5923114d28302e17bd3295

notwa avatar Jan 21 '22 22:01 notwa

@KelSolaar could you please resolve the conflicts there?

antond-weta avatar Oct 19 '23 00:10 antond-weta

CLA Signed

The committers listed above are authorized under a signed CLA.

  • :white_check_mark: login: KelSolaar / name: Thomas Mansencal (3423f9f70fa0ac20d2d8bb4566591ff9b483b62a)

Should be good @antond-weta! I will work on the ASWF based container in another PR.

KelSolaar avatar Nov 10 '23 07:11 KelSolaar