1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:14:57 +02:00
dockerfiles/rsyslog/Dockerfile
2018-07-28 17:34:05 +08:00

21 lines
257 B
Docker

#
# Dockerfile for rsyslog
#
FROM alpine
MAINTAINER kev <noreply@easypi.pro>
RUN apk add --no-cache rsyslog
COPY rsyslog.conf /etc/rsyslog.conf
VOLUME /var/log
WORKDIR /var/log
ENV TZ=UTC
EXPOSE 514/tcp \
514/udp
ENTRYPOINT ["rsyslogd", "-n"]