diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c01beb..9456a7c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: run: pip install -r requirements-test.txt - name: Install pve_exporter - run: pip install . + run: pip install --no-index . - name: Run pylint run: pylint pve_exporter diff --git a/Dockerfile b/Dockerfile index 21c7929..b1607c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN apk add --no-cache \ ADD . /src/prometheus-pve-exporter RUN python3 -m venv /opt/prometheus-pve-exporter && \ /opt/prometheus-pve-exporter/bin/pip install -r /src/prometheus-pve-exporter/requirements.txt && \ - /opt/prometheus-pve-exporter/bin/pip install /src/prometheus-pve-exporter && \ + /opt/prometheus-pve-exporter/bin/pip install --no-index /src/prometheus-pve-exporter && \ ln -s /opt/prometheus-pve-exporter/bin/pve_exporter /usr/bin/pve_exporter && \ rm -rf /src/prometheus-pve-exporter /root/.cache