Project that helps to build DRBD kernel module and DRBD utils on Debian-based systems
410
This project helps to build DRBD kernel module and DRBD utils mostly for Debian-based systems (Debian, Ubuntu, etc.).
Run docker container to start building and don't pollute your system.
You can use tag debian or ubuntu for different distributions.
docker run --rm \
-v $(pwd)/result:/result \
-e DRBD_BUILDER_COCCINELE_ENABLED_BUILD=on \
-e DRBD_BUILDER_DRBD_KERNEL_MODULE_ENABLED_BUILD=on \
-e DRBD_BUILDER_DRBD_UTILS_ENABLED_BUILD=on \
-e DRBD_BUILDER_RESULT_UID=$(id -u) \
-e DRBD_BUILDER_RESULT_GUID=$(id -g) \
dantes2104/drbd-builder:debian
Script create two folders:
/result/kernel/module - DRBD Kernel Module/result/utils - DRBD Utils| Variable name | Description | Possible values |
|---|---|---|
DRBD_BUILDER_LOG_LEVEL | Level of logging | debug, info, warning, error |
DRBD_BUILDER_APT_HTTP_PROXY | Proxy for installing dependencies for HTTP repositories | |
DRBD_BUILDER_APT_HTTPS_PROXY | Proxy for installing dependencies for HTTPS repositories | |
DRBD_BUILDER_COCCINELE_ENABLED_BUILD | Building Coccinele instead of installing from repository (Required for DRBD Kernel Module) | on, yes, true |
DRBD_BUILDER_COCCIENELE_ENABLED_INSTALL | Installing Coccinele from repository instead of building (may be produce errors on building DRBD Kernel Module) | |
DRBD_BUILDER_COCCINELE_VERSION | Version of Coccinele to build (git tag in official repository) | |
DRBD_BUILDER_DRBD_KERNEL_MODULE_ENABLED_BUILD | Enable building DRBD Kernel Module | on, yes, true |
DRBD_BUILDER_DRBD_KERNEL_MODULE_VERSION | Version of DRBD Kernel Module (git tag in official repository) | |
DRBD_BUILDER_DRBD_UTILS_ENABLED_BUILD | Enable building DRBD Utils | |
DRBD_BUILDER_DRBD_UTILS_VERSION | Version of DRBD Utils (git tag in official repository) | |
DRBD_BUILDER_RESULT_UID | Owner of result folder and files inside | one of possible value is $(id -u) |
DRBD_BUILDER_RESULT_GUID | Owner group of result folder and files inside | one of possible value is $(id -g) |
Content type
Image
Digest
sha256:824c0a2aa…
Size
47 MB
Last updated
7 months ago
docker pull dantes2104/drbd-builder:debian