FROM docker.0k.io/alpine

## dependency of docker-send-signal
RUN apk add curl
RUN apk add jq

RUN apk add logrotate && \
    sed -ri 's/^(\/var\/log\/messages \{\})$/# \1/g' /etc/logrotate.conf

COPY src/ /

ENTRYPOINT ["/entrypoint.sh"]