Skip to content

Commit

Permalink
Merge pull request #15 from cherusk/repair_ss2_install
Browse files Browse the repository at this point in the history
streamline container build
  • Loading branch information
cherusk authored Feb 2, 2023
2 parents d08dcd3 + 645b659 commit 5d3440d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ RUN set -ex \
&& cd /prometheus-ss-exporter \
&& python3 setup.py install

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

EXPOSE 8090

USER root
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
packages=find_packages(),

install_requires=[
# 'pyroute2==0.5.19', installed from fork for now
'pyroute2==0.7.4',
'prometheus-client',
'PyYAML',
'psutil'
Expand Down

0 comments on commit 5d3440d

Please sign in to comment.