Docker services on my home NAS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
343 B

ARG ALPINE_VERSION=latest
FROM alpine:${ALPINE_VERSION}
ARG APK_MIRROR=dl-cdn.alpinelinux.org
RUN sed -i "s/dl-cdn.alpinelinux.org/${APK_MIRROR}/g" /etc/apk/repositories && \
apk --no-cache --no-progress add jq curl && \
rm -rf /tmp/*
COPY motd.run /etc/periodic/hourly/
VOLUME ["/mnt/motd"]
ENTRYPOINT ["crond", "-f", "-d", "8"]