1
0
ketr.services/cron/Dockerfile.cron
2023-10-10 11:45:38 -07:00

15 lines
399 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 \
&& rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log}
COPY /Dockerfile.cron /Dockerfile
COPY /entrypoint.sh /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]