docker-syslog-forwarder/Dockerfile
2023-07-07 17:44:16 +02:00

15 lines
217 B
Docker

FROM alpine:3.18
RUN \
apk -U add rsyslog rsyslog-mmutf8fix
COPY run.sh /
EXPOSE 514/tcp
EXPOSE 514/udp
ENV TARGET_HOST="127.0.0.1"
ENV TARGET_PROTO="tcp"
ENV TARGET_PORT="514"
ENTRYPOINT ["/bin/sh", "/run.sh"]