docker-syslog-forwarder/Dockerfile

18 lines
258 B
Docker
Raw Normal View History

2023-07-07 15:44:16 +00:00
FROM alpine:3.18
2022-05-22 17:13:40 +00:00
RUN \
apk -U add rsyslog rsyslog-mmutf8fix
COPY run.sh /
EXPOSE 514/tcp
EXPOSE 514/udp
2022-05-25 10:27:16 +00:00
ENV TARGET_HOST="127.0.0.1"
ENV TARGET_PROTO="tcp"
ENV TARGET_PORT="514"
2023-07-07 15:44:45 +00:00
ENV DEBUG="0"
2022-05-22 19:18:11 +00:00
2023-07-07 15:48:46 +00:00
VOLUME [ "/extraconfig" ]
2022-05-22 17:13:40 +00:00
ENTRYPOINT ["/bin/sh", "/run.sh"]