Giter Club home page Giter Club logo

rsyslog-docker's Introduction

rsyslog-docker

a playground for rsyslog docker tasks - nothing production yet

see also https://github.com/rsyslog/rsyslog/projects/5

The docker effort currently uses multiple containers.

Alpine Linux

We intend to use alpine linux for the logging appliance container, because it is small, secure and relatively recently.

Right now, alpine misses some components that we need. So we build some packages ourself. This will most probably be an ongoing activity as we intend to always provide current versions of rsyslog inside the logging application and it looks unlikely alpine will always follow exactly.

Package Build Environment

We use

https://github.com/rgerhards/docker-alpine-abuild/tree/master-rger

to build alpine packages.

This is based on https://github.com/andyshinn/docker-alpine-abuild and only adds a few rsyslog-specific tweaks. Most importantly, it has our own unofficial APK repository enabled (we need this if we need to build based on dependencies newer than there are in the official alpine repositories).

Our custom packages are contained inside the

https://github.com/rgerhards/alpine-rsyslog-extras

repository.

Bootstrap

Note: usr below stands for your user prefix.

To start from scratch, do

  • create usr/docker-alpine-abuild image You need to hand-edit it so that the initial build does not use your custom repository.

  • create autotools-archive package via usr/alpine-linux-extras

    • cd autotools-archive
    • source ../run Note: there asre some errors in regard to git repository mount point. So far, I do not know where the stem from and how to get rid of them. Fortunately, they do not harm the build process. Ignore them (and send us a PR if you know how to solve this cleanly).
  • copy package to your intended destination http server

  • rebuild usr/docker-alpine-abuild image reset your hand-edited change, make it use the custom repository again This is important as we need to have the dependencies for future builds.

  • rebuild the rest of the packages in usr/alpine-linux-extras We don't want to give the exact sequence here as it might change. In general, rsyslog should be built last. You may need to do multiple uploads to your repo when these dependencies are needed by packages.

  • Remember to periodically apply (security) updates to the docker images!

rsyslog-docker's People

Contributors

rgerhards avatar alorbach avatar jgerhards avatar zyrikby avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.