Public | Automated Build

Last pushed: a day ago
Short Description
This image provides a CentOS7 development environment to build and install syslog-ng from source
Full Description

balabit/syslog-ng-centos7

This image provides a development environment to build and install syslog-ng from source. You have to clone the source
code of syslog-ng into a directory on your host machine then you can mount it
into the container (under /source).

Building syslog-ng from source

Assume that we have cloned syslog-ng's source into the $HOME/syslog-ng
directory. The following commands starts a container mounted with the
source:

$ dbld/rules shell-centos7

You can also build an RPM using:

$ dbld/rules rpm-centos7

You can find the resulting RPMs in $(top_srcdir)/dbld/build.

You can also use this image to hack on syslog-ng by configuring and building
manually.

$ cd /source/
$ pip install -r requirements.txt
$ ./autogen.sh
$ mkdir build
$ cd build/
$ ../configure --enable-debug --prefix=/install
$ make
$ make check
$ make install

If the compilation and installation was successful you can run syslog-ng with the following command:

$ /install/syslog-ng/sbin/syslog-ng -Fedv

The source code and build products are mounted externally in a directory
called /source (for the sources) /build (for build products) and
/install (for the installed binaries) respectively.

Docker Pull Command
Owner
balabit
Source Repository

Comments (0)