summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorValery Ivanov <ivalery111@gmail.com>2022-02-16 23:41:32 +0300
committerValery Ivanov <ivalery111@gmail.com>2022-02-24 23:24:54 +0300
commitc088c61a8284adab9396dde22d85d15b737f4f90 (patch)
treeab8e97536be4df29f52c508f10292eddcebb6eee /README.md
parent3796862e000cef2c320b9c7a204c6074763224c6 (diff)
downloadlibnet-c088c61a8284adab9396dde22d85d15b737f4f90.tar.gz
tools: add Dockerfile
Signed-off-by: Valery Ivanov <ivalery111@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index f250c94..361fedd 100644
--- a/README.md
+++ b/README.md
@@ -61,6 +61,21 @@ systems, `apt` can be used:
Libnet now is available on [Conan Center](https://conan.io/center/libnet).
Please add `libnet/1.2` to your `conanfile.txt`
+### Building with Docker
+```bash
+# Build image
+cd tools
+docker build -t libnet-builder .
+
+# Compile libnet with docker
+cd ..
+docker run -it --rm -v $(pwd):$(pwd) --workdir=$(pwd) libnet-builder
+
+./autogen.sh
+./configure
+make
+```
+
### Building the Documentation
To build the documentation (optional) you need doxygen and pod2man: