-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from danielhenrymantilla/master
Added a script to create&run the env in a docker container
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |