Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S sbws
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Network Health
  • sbws
  • Issues
  • #27343

Closed (moved)
(moved)
Open
Created Aug 27, 2018 by Trac@tracbot

Dockerfile for sbws basic install

FROM debian

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get -qy install python3-pip git &&  \
        apt-get clean && \
        rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN useradd --shell /bin/bash -u 1000 -m  test

USER test

RUN git clone https://git.torproject.org/stem.git /home/test/stem
RUN git clone https://github.com/pastly/simple-bw-scanner.git /home/test/simple-bw-scanner

USER root

RUN pip3 install /home/test/stem
RUN pip3 install /home/test/simple-bw-scanner

USER test

CMD /usr/local/bin/sbws scanner

Just a basic Dockerfile to get sbws installed inside Docker. Note that it needs to be adapted a little bit, as it lacks a config file... Whenever I figure out the config file aspect, I can get that included easily.

Trac:
Username: gabe

Assignee
Assign to
Time tracking