Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit 7f16bce

Browse files
authored
Merge pull request #55 from phpdocker-io/certbot-no-ppa
Tweak dockerfile to install ubuntu's certbot, instead of from the outdated ppa
2 parents 23489d4 + 44bd95f commit 7f16bce

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@ ENV EMAIL=foo@bar.com
1313
# Comma separated list of domains to acquire certs for
1414
ENV DOMAINS=foo.com,www.foo.com,bar.foo.com
1515

16-
# Install certbot from PPA instead of ubuntu's repos to ensure we always got the latest
17-
RUN echo "deb http://ppa.launchpad.net/certbot/certbot/ubuntu bionic main" > /etc/apt/sources.list.d/letsencrypt.list \
18-
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7BF576066ADA65728FC7E70A8C47BE8E75BCA694 \
19-
&& apt-get update \
20-
&& apt-get -y --no-install-recommends install certbot \
21-
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
16+
RUN apt-get update; \
17+
apt-get -y --no-install-recommends install certbot; \
18+
apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
2219

2320
# Composer config - add early to benefit from docker build caches
2421
COPY composer.* /workdir/

release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.0 3.3 3
1+
3.3.1 3.3 3

0 commit comments

Comments
 (0)