rsyslog / rsyslog-docker

rsyslog docker containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create an Ubuntu-based appliance container

rgerhards opened this issue · comments

This is not for production use (at least I would not recommend), but to ease development.

We need an Ubuntu image that can be used to simplify testing of rsyslog container features . The full cycle of edit-compile-build_tarball-build_APK-build_appliance is too time consuming to be productive. So I need some thing were I can map in the binary right after compile.

We have postponed this a bit, as it has not yet been proven to be helpful for development. Let's focus on Alpine first, maybe that's the only one we'll ever need...

I was browsing the various files in this repo and saw that you had Alpine ('apk') commands in this file that appears to be intended for the Ubuntu image:

https://github.com/rsyslog/rsyslog-docker/blob/master/appliance/ubuntu/setup-system.sh

I came here to create an issue for the file, but I see now that the Ubuntu files are placeholders, WIP for future use if needed. I was wondering as much when I saw the apk commands in the file.

Tangent: The more I learn about Docker the more potential I see for it. I'm glad you encouraged me to look into it.

I should probably add a README that explains the situation. Right now I focus on Alpine, because:

  • Alpine is frequently used in docker due to the small footprint
  • I have a firm grip on Alpine packaging and can quickly build myself all components that I need
  • the appliance container is not yet mature, so duplicating work sounds counter-productive

Once the Alpine container is really production grade and if there is demand for others, I plan to create appliances with other base OS. Ubuntu and CentOS would be my choices.

Ubuntu and CentOS would be my choices.

See #12 re: CentOS