18 lines
258 B
Docker
18 lines
258 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"
|
|
|
|
VOLUME [ "/extraconfig" ]
|
|
|
|
ENTRYPOINT ["/bin/sh", "/run.sh"] |