docker-syslog-forwarder/Dockerfile

15 lines
217 B
Docker
Raw Normal View History

2022-05-22 17:13:40 +00:00
FROM alpine:3.15
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"
2022-05-22 19:18:11 +00:00
2022-05-22 17:13:40 +00:00
ENTRYPOINT ["/bin/sh", "/run.sh"]