This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:bookworm-slim | |
RUN apt-get update && apt-get install -y --no-install-recommends rsyslog | |
COPY rsyslog.d-demo.conf /etc/rsyslog.d/00-demo.conf | |
RUN mkdir -vp /var/log/user | |
# this command just comments out kernel logging support (the line `module(load="imklog")`) | |
RUN perl -wMstrict -i -ple 's/^(?=\s*module\s*\(\s*[^)]*\bimklog\b)/#/' /etc/rsyslog.conf | |
COPY *.sh /usr/local/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: docs clean | |
docs: | |
PYTHONPATH=. sphinx-build -M markdown . output | |
clean: | |
rm -rf output |
OlderNewer