Skip to content

Commit d7acd25

Browse files
addhowto on image builds
1 parent 5c1b4e3 commit d7acd25

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,32 @@ Linux users can connect to 127.0.0.1.
3030

3131
If the computer running NodeODM is using an old or 32bit CPU, you need to compile OpenDroneMap from sources and setup NodeODM natively. You cannot use docker. Docker images work with CPUs with 64-bit extensions, MMX, SSE, SSE2, SSE3 and SSSE3 instruction set support or higher. Seeing a `Illegal instruction` error while processing images is an indication that your CPU is too old.
3232

33+
### Building docker image
34+
35+
If you need to test changes as a docker image, you can build easily as follows:
36+
37+
```
38+
docker build -t my_nodeodm_image --no-cache .
39+
```
40+
41+
### Testing alternative ODM images through NodeODM
42+
43+
In order to test alternative ODM docker images in NodeODM, you will need to change the dockerfile for NodeODM to point to your ODM image. For example if you built an alternate ODM image as follows:
44+
45+
```
46+
docker build -t my_odm_image --no-cache .
47+
```
48+
49+
Then you'll modify NodeODM's Dockerfile to point to the new ODM image in the first line:
50+
51+
```
52+
FROM my_odm_image
53+
MAINTAINER Piero Toffanin <[email protected]>
54+
55+
EXPOSE 3000
56+
...
57+
```
58+
3359
### Running rootless
3460

3561
* A rootless alternative to Docker is using [Apptainer](https://apptainer.org/). In order to run NodeODM together with ClusterODM in rootless environments, for example on HPC, we need a rootless alternative to Docker, and that's where Apptainer comes in to play. From the Linux command line, cd into the NodeODM folder and run the following commands to host a NodeODM instance:

0 commit comments

Comments
 (0)