diff --git a/docker-files/alpine.Dockerfile b/docker-files/alpine.Dockerfile index 2b71b2ca80..c435b09a30 100644 --- a/docker-files/alpine.Dockerfile +++ b/docker-files/alpine.Dockerfile @@ -29,7 +29,7 @@ RUN apk add --no-cache \ smartmontools \ iputils \ tzdata \ - # Required for 'cryptography' dependency + # Required for 'cryptography' dependency of cassandra-driver gcc libffi-dev openssl-dev cargo pkgconfig ############################################################################## @@ -58,6 +58,9 @@ RUN pip3 install --no-cache-dir --user glances FROM build as buildOptionalRequirements ARG PYTHON_VERSION +# Required for 'cryptography' dependency of cassandra-driver +ENV CARGO_NET_GIT_FETCH_WITH_CLI=true + COPY requirements.txt . COPY optional-requirements.txt . RUN CASS_DRIVER_NO_CYTHON=1 pip3 install --no-cache-dir --user -r optional-requirements.txt diff --git a/optional-requirements.txt b/optional-requirements.txt index a331b53e4f..138f3ceb3b 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -4,7 +4,7 @@ batinfo bernhard bottle -#cassandra-driver # cassandra-driver breaks Glances CI (Alpine Docker). See detail in issue #2368 +cassandra-driver chevron couchdb docker==6.0.1