You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
331 B
10 lines
331 B
FROM ubuntu:24.04
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends rsyslog \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& mkdir -p /var/log/tera \
|
|
&& touch /var/log/tera/remote.log
|
|
COPY rsyslog.conf /etc/rsyslog.conf
|
|
RUN rsyslogd -N1
|
|
EXPOSE 514/udp 514/tcp
|
|
CMD ["rsyslogd", "-n", "-i", "/tmp/rsyslog.pid"]
|
|
|