Correr apache y cron docker

Se debe usar supervisor, en este repositorio realice la configuracion

https://github.com/jorarmarfin/docker-ubuntu/blob/supervisor/files/supervisord.conf

Ver como agregar una tarea al cron

FROM ubuntu:latest
MAINTAINER docker@ekito.fr

RUN apt-get update && apt-get -y install cron

# Copy hello-cron file to the cron.d directory
COPY hello-cron /etc/cron.d/hello-cron

# Give execution rights on the cron job
RUN chmod 0644 /etc/cron.d/hello-cron

# Apply cron job
RUN crontab /etc/cron.d/hello-cron

# Create the log file to be able to run tail
RUN touch /var/log/cron.log

# Run the command on container startup
CMD cron && tail -f /var/log/cron.log

En el archivo cron que se ejecutara hay que dejar salto de lineas