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-21 14:21] – Jan David Mol | public:docker [2018-02-05 10:31] – [Development (extending the software)] Jan David Mol | ||
---|---|---|---|
Line 75: | Line 75: | ||
===== Development (extending the software) ===== | ===== 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 -DUSE_CASACORE=OFF && make -j 16 install | ||
+ | </ | ||
+ | |||
+ | which will put the Dockerfiles in subdirectories in '' | ||
+ | |||
+ | === Q: How do I build your Docker images from scratch? === | ||
+ | |||
+ | A: By obtaining the Dockerfiles (see above), and running: | ||
+ | |||
+ | < | ||
+ | # load LOFAR environment variables, used to determine tags etc | ||
+ | source installed/ | ||
+ | # build all LOFAR images, in the order required by their interdependencies | ||
+ | docker-build-all.sh | ||
+ | </ | ||
=== Q: How do I add files/ | === Q: How do I add files/ | ||
Line 86: | Line 111: | ||
</ | </ | ||
- | Finally, you run '' | + | Finally, you run < |
=== Q: How do I add initialisation stuff? (PYTHONPATH, | === Q: How do I add initialisation stuff? (PYTHONPATH, | ||
Line 92: | Line 117: | ||
A: Our Docker images execute ''/ | 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. | + | 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. |