source: docker/README@ 91c409

Candidate_v1.7.0 stable
Last change on this file since 91c409 was 5e0f64, checked in by Frederik Heber <frederik.heber@…>, 3 months ago

Added dockerfile to repository and how to build it.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1This is a Dockerfile to build the molecuilder debian package.
2
31. install dev packages
42. compile boost
53. compile molecuilder (creating debian archive)
64. copy debian archive to next stage
75. install non-dev packages
86. install libqt3d and molecuilder package (from build-stage)
9
10
11### Issues
12
13- molecuilder does not seem to work with boost 1.61 (and above?), we used
14 boost 1.58 (default with Ubuntu 16.04), boost-related compilation errors
15- we want to base on python3 (for use in jupyter notebooks, ipykernel needs
16 python3.4 or higher). Therefore, we need to compile boost ourselves
17 as Ubunut 16.04 links to python2.7 still, see user-config.jam
18- ax_python.m4 (w.r.t molecuilder v1.6.1) need to be adapted to python3.5m
19(- we build unsigned packages as this should proceed non-interactively)
20- instead of building debian packages, we build binaries and copy these to
21 the next stage
22
23### 2022-10-22
24
25This works now with ubuntu18.04 and boost-1.69 and python3.
26
27### 2023-09-14
28
29Under Ubuntu20.04 I need to add `-lboost_python3.8` in **m4/boost.m4**.
30However, this breaks compilation under Ubuntu 18.04. Hence, remember to
31remove this again (in the distributable).
32
33### 2025-08-09
34
35You need:
36- a tarball of boost-1.69, obtain from boost.org
37- libqt4-3d_1.0-tp2_amd64.deb and libqt4-3d-dev_1.0-tp2_amd64.deb debian packages
38 (these are for Qt4.8's Qt3D)
39- molecuilder's tarball. Obtain via `make dist` from the build folder
40- adjust the MOLECUILDER_VERSION in the Dockerfile to match the current version.
41
Note: See TracBrowser for help on using the repository browser.