Skip to content
Snippets Groups Projects
Closed (moved) Dockerfile for sbws basic install
  • View options
  • Dockerfile for sbws basic install

  • View options
  • Closed (moved) Issue created by Trac
    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

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading