Line | |
---|
1 | # Build BNC from sources for multiple operating systems
|
---|
2 |
|
---|
3 | Docker or podman must be installed on your system, see [Podman Installation Instructions](https://podman.io/getting-started/installation).<br>
|
---|
4 | The Dockerfiles should work with both commands, docker and podman.
|
---|
5 |
|
---|
6 | Build example:
|
---|
7 |
|
---|
8 | ```bash
|
---|
9 | cd to/BNC/root/dir
|
---|
10 | podman build -t bullseye/bnc:v2.13 -f docker/Dockerfile.bullseye .
|
---|
11 | ```
|
---|
12 |
|
---|
13 | #### Copy the build artifact from the container
|
---|
14 | ```bash
|
---|
15 | con=$(podman create <imageID>)
|
---|
16 | podman cp $con:/tmp/BNC/bnc bncnew
|
---|
17 | podman rm $con
|
---|
18 | ``` |
---|
Note:
See
TracBrowser
for help on using the repository browser.