mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:19 +02:00
Use the git CLI with cargo (#9223)
Hopefully this makes things more stable. This is based on Alex's suggestion [here](https://opensource.eff.org/eff-open-source/pl/ouf996zuxjnkdxwq81bihxak7e). * git cli in docker * git cli in snap * git cli in dns snaps * use true strings
This commit is contained in:
@@ -26,6 +26,10 @@ RUN apk add --no-cache --virtual .certbot-deps \
|
||||
ca-certificates \
|
||||
binutils
|
||||
|
||||
# We set this environment variable and install git while building to try and
|
||||
# increase the stability of fetching the rust crates needed to build the
|
||||
# cryptography library
|
||||
ARG CARGO_NET_GIT_FETCH_WITH_CLI=true
|
||||
# Install certbot from sources
|
||||
RUN apk add --no-cache --virtual .build-deps \
|
||||
gcc \
|
||||
@@ -35,6 +39,7 @@ RUN apk add --no-cache --virtual .build-deps \
|
||||
libffi-dev \
|
||||
python3-dev \
|
||||
cargo \
|
||||
git \
|
||||
&& python tools/pipstrap.py \
|
||||
&& python tools/pip_install.py --no-cache-dir \
|
||||
--editable src/acme \
|
||||
|
||||
Reference in New Issue
Block a user