service `crond' does not exist
I'm trying to run an Alpine Docker container that runs a script every 15 minutes. According to the wiki's cron section, I should be able to just add a RUN task in the Dockerfile to run crond as a service via:
rc-service crond start && rc-update add crond
This however returns an error:
rc-service: service 'crond' does not exist
Here is my Dockerfile:
FROM node:12.13.0-alpine
RUN apk add --no-cache tini openrc
WORKDIR /opt/app
COPY script.sh /etc/periodic/15min/
RUN chmod a+x /etc/periodic/15min/script.sh
RUN rc-service crond start && rc-update add crond
COPY . .
RUN chmod a+x startup.sh
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["./startup.sh"]
Is the wiki missing information, is this a bug, or am I missing a step here?