File tree 4 files changed +21
-8
lines changed
4 files changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ updates:
7
7
interval : " daily"
8
8
time : " 04:00"
9
9
open-pull-requests-limit : 10
10
+ # Maintain dependencies for pip packages.
11
+ - package-ecosystem : " pip"
12
+ directory : " /src"
13
+ schedule :
14
+ interval : " daily"
15
+ open-pull-requests-limit : 10
10
16
# Maintain dependencies for GitHub Actions.
11
17
- package-ecosystem : " github-actions"
12
18
directory : " /"
Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ ENV CERTBOT_DNS_AUTHENTICATORS \
24
24
# any real need to cater to other programs/environments.
25
25
ARG PIP_BREAK_SYSTEM_PACKAGES=1
26
26
27
+ # Through this we gain the ability to handle certbot upgrades through
28
+ # dependabot pull requests.
29
+ COPY requirements.txt /requirements.txt
30
+
27
31
# Do a single run command to make the intermediary containers smaller.
28
32
RUN set -ex && \
29
33
# Install packages necessary during the build phase (for all architectures).
@@ -44,10 +48,9 @@ RUN set -ex && \
44
48
# Install the latest version of PIP, Setuptools and Wheel.
45
49
curl -L 'https://bootstrap.pypa.io/get-pip.py' | python3 && \
46
50
# Install certbot.
47
- pip3 install -U cffi certbot \
48
- # And the supported extra authenticators
49
- $(echo $CERTBOT_DNS_AUTHENTICATORS | sed 's/\( ^\| \) /\1 certbot-dns-/g' ) \
50
- && \
51
+ pip3 install -r /requirements.txt && \
52
+ # And the supported extra authenticators.
53
+ pip3 install $(echo $CERTBOT_DNS_AUTHENTICATORS | sed 's/\( ^\| \) /\1 certbot-dns-/g' ) && \
51
54
# Remove everything that is no longer necessary.
52
55
apt-get remove --purge -y \
53
56
build-essential \
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ ENV CERTBOT_DNS_AUTHENTICATORS \
19
19
ionos \
20
20
bunny
21
21
22
+ # Through this we gain the ability to handle certbot upgrades through
23
+ # dependabot pull requests.
24
+ COPY requirements.txt /requirements.txt
25
+
22
26
# Do a single run command to make the intermediary containers smaller.
23
27
RUN set -ex && \
24
28
# Install packages necessary during the build phase (for all architectures).
@@ -40,10 +44,9 @@ RUN set -ex && \
40
44
# Install the latest version of PIP, Setuptools and Wheel.
41
45
curl -L 'https://bootstrap.pypa.io/get-pip.py' | python3 && \
42
46
# Install certbot.
43
- pip3 install -U cffi certbot \
44
- # And the supported extra authenticators
45
- $(echo $CERTBOT_DNS_AUTHENTICATORS | sed 's/\(^\| \)/\1certbot-dns-/g') \
46
- && \
47
+ pip3 install -r /requirements.txt && \
48
+ # And the supported extra authenticators.
49
+ pip3 install $(echo $CERTBOT_DNS_AUTHENTICATORS | sed 's/\(^\| \)/\1certbot-dns-/g') && \
47
50
# Remove everything that is no longer necessary.
48
51
apk del \
49
52
cargo \
Original file line number Diff line number Diff line change
1
+ certbot == 2.9.0
You can’t perform that action at this time.
0 commit comments