FROM alpine:3.13.4 | |
MAINTAINER Ryan Schlesinger <ryan@outstand.com> | |
RUN apk add --no-cache bash syslog-ng | |
RUN mkdir /sidecar | |
COPY config/syslog-ng.conf /etc/syslog-ng/ | |
COPY docker-entrypoint.sh /docker-entrypoint.sh | |
VOLUME ["/sidecar"] | |
CMD ["syslog-ng", "-F"] | |
ENTRYPOINT ["/docker-entrypoint.sh"] |