docker-syslog-forwarder/Dockerfile

15 lines
193 B
Docker

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