diff options
author | Valery Ivanov <ivalery111@gmail.com> | 2022-02-16 23:41:32 +0300 |
---|---|---|
committer | Valery Ivanov <ivalery111@gmail.com> | 2022-02-24 23:24:54 +0300 |
commit | c088c61a8284adab9396dde22d85d15b737f4f90 (patch) | |
tree | ab8e97536be4df29f52c508f10292eddcebb6eee /README.md | |
parent | 3796862e000cef2c320b9c7a204c6074763224c6 (diff) | |
download | libnet-c088c61a8284adab9396dde22d85d15b737f4f90.tar.gz |
tools: add Dockerfile
Signed-off-by: Valery Ivanov <ivalery111@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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: |