1
0
ketr.services/Dockerfile.cron
James Ketrenos 70ef42bf98 webserver, webmail, and letsencrypt all seeem to be working
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2023-10-06 14:15:42 -07:00

20 lines
615 B
Docker

FROM ubuntu:jammy
RUN apt-get -q update \
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
cron vim ssh rsync \
letsencrypt \
python3-certbot-apache \
python3-certbot-nginx \
&& apt-get clean \
&& for dir in apt dpkg cache log; do \
if [[ -e /var/lib/apt/lists/${dir} ]]; then \
rm -rf /var/lib/apt/lists/${dir}; \
else \
true ; \
fi ; \
done
COPY /Dockerfile.cron /Dockerfile
ENTRYPOINT [ "cron", "-f" ]