15 lines
399 B
Docker
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" ] |