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

16 lines
231 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"
ENV DEBUG="0"
ENTRYPOINT ["/bin/sh", "/run.sh"]