Skip to content

Commit

Permalink
Merge pull request #1 from danielhenrymantilla/master
Browse files Browse the repository at this point in the history
Added a script to create&run the env in a docker container
  • Loading branch information
scwuaptx authored Mar 26, 2018
2 parents 340a58c + eca9892 commit cb60f23
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh
docker build -t hitcon_training - <<DOCKERFILE_EOF || exit 1
from ubuntu
run apt-get update
run apt-get install -y git sudo bash make nano
run dpkg --add-architecture i386
run apt-get update
run git clone https://github.com/scwuaptx/HITCON-Training /tmp/hitcon
workdir /tmp/hitcon
run bash env_setup.sh
run git clone https://github.com/radare/radare2 /tmp/radare2
workdir /tmp/radare2
run sys/install.sh
workdir /tmp/hitcon
cmd bash -i
DOCKERFILE_EOF

docker run -it --rm --cap-add=SYS_PTRACE --security-opt seccomp=unconfined hitcon_training

0 comments on commit cb60f23

Please sign in to comment.