docker-syslog-forwarder/Dockerfile

15 lines
193 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-22 19:18:11 +00:00
ENV TARGET_HOST
ENV TARGET_PROTO
ENV TARGET_PORT
2022-05-22 17:13:40 +00:00
ENTRYPOINT ["/bin/sh", "/run.sh"]