rawtoaces
rawtoaces copied to clipboard
PR: Add "Dockerfile".
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
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
@KelSolaar could you please resolve the conflicts there?
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.