Skip to content

Commit

Permalink
interim patch install from pyroute2 fork
Browse files Browse the repository at this point in the history
This is an important patch of lingering scrape time build up issue over time.

Also the frequency of json DecodeError issues is addressed with this.
  • Loading branch information
cherusk committed Nov 24, 2023
1 parent e043560 commit 51b6cbd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ RUN set -ex \
&& cd /prometheus-ss-exporter \
&& python3 setup.py install

# interim -- install ss2 from forked pyroute2
RUN /bin/bash -c "git clone https://github.com/cherusk/pyroute2.git \
&& pushd pyroute2 \
&& git checkout -B origin/ss2_patch_class_level_data \
&& python3 setup.py install \
&& popd \
&& rmdir --ignore-fail-on-non-empty pyroute2"

EXPOSE 8090

HEALTHCHECK --interval=1s --timeout=2s --retries=1 \
Expand Down

0 comments on commit 51b6cbd

Please sign in to comment.