CCSDS_study project
This commit is contained in:
19
netzob-030/resources/dockerbuild/Dockerfile
Normal file
19
netzob-030/resources/dockerbuild/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
from debian:latest
|
||||
run yes y | apt-get update && yes y | apt-get upgrade
|
||||
run yes y | apt-get install python python-dev
|
||||
run yes y | apt-get install python-pip python-setuptools
|
||||
run yes y | apt-get install python-babel python-sphinx
|
||||
run yes y | apt-get install python-numpy python-pcapy
|
||||
run yes y | apt-get install gcc make
|
||||
run yes y | apt-get install git
|
||||
run yes y | apt-get install ipython
|
||||
workdir root
|
||||
run git clone https://dev.netzob.org/git/netzob -b next
|
||||
workdir netzob
|
||||
run python setup.py build
|
||||
run python setup.py develop
|
||||
run python setup.py install
|
||||
workdir /root
|
||||
run mkdir -p /root/.ipython/profile_default/startup/
|
||||
run echo "from netzob.all import *" > /root/.ipython/profile_default/startup/00_netzob.py
|
||||
cmd /usr/bin/ipython
|
||||
12
netzob-030/resources/dockerbuild/README.md
Normal file
12
netzob-030/resources/dockerbuild/README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# README
|
||||
|
||||
This is the official repository for the netzob project. You can learn more about it [here](https://github.com/netzob/netzob)
|
||||
|
||||
## Simple Examples
|
||||
|
||||
Here are simple example showing how to run netzob from a container:
|
||||
|
||||
- Simply load netzob: `docker run --rm -it netzob/netzob`
|
||||
- Load netzob with your current directory mounted at /data: `docker run --rm -it -v $(pwd):/data netzob/netzob`
|
||||
- Have a command line to be able to navigate into the system, look at the code, modify it: `docker run --rm -it netzob/netzob bash`
|
||||
|
||||
Reference in New Issue
Block a user