Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
public:docker [2017-02-09 12:41] – [Q&A] Jan David Mol | public:docker [2017-02-21 14:25] – [Development (extending the software)] Jan David Mol | ||
---|---|---|---|
Line 73: | Line 73: | ||
A: The LOFAR software is compiled for a 2015-era processor (Intel Xeon E5-2603v3 to be exact) for performance reasons, and uses CPU instructions not available on older machines. Please run our images on a newer machine. | A: The LOFAR software is compiled for a 2015-era processor (Intel Xeon E5-2603v3 to be exact) for performance reasons, and uses CPU instructions not available on older machines. Please run our images on a newer machine. | ||
+ | |||
+ | ===== Development (extending the software) ===== | ||
+ | |||
+ | === Q: How do I obtain your Dockerfiles? | ||
+ | |||
+ | A: By running: | ||
+ | |||
+ | < | ||
+ | svn co -N https:// | ||
+ | cd LOFAR-Release-2_19 | ||
+ | mkdir -p build/ | ||
+ | |||
+ | cmake ../.. -DBUILD_PACKAGES=Docker -DUSE_LOG4CPLUS=OFF && make -j 16 install | ||
+ | </ | ||
+ | |||
+ | which will put the Dockerfiles in subdirectories in '' | ||
+ | |||
+ | === Q: How do I add files/ | ||
+ | |||
+ | A: The best way to add stuff to our images is by creating a new image based on ours. To do so, create a directory containing the files you want to add. Add to this directory a '' | ||
+ | |||
+ | < | ||
+ | FROM lofar-pipeline: | ||
+ | |||
+ | COPY my_extension / | ||
+ | </ | ||
+ | |||
+ | Finally, you run < | ||
+ | |||
+ | === Q: How do I add initialisation stuff? (PYTHONPATH, | ||
+ | |||
+ | A: Our Docker images execute ''/ | ||
+ | |||
+ | Note: if you add eggs to the image, you need to put the egg /filename/ to the PYTHONPATH. It is not enough to add the directory containing the egg. |