Set of functions / scripts for easilly creating binstubs for docker images
./install.sh /path/to/file
File is a pipe separated file containing the image name, docker run command options and the name of the binary to crate (optional, see defaults.txt)
The file parameter is also optional
There is also a create_binstub script which takes upto 3 arguments (look in the install.sh
The Dockerfiles dir is where I will be creating docker images for tools I want to dockerize
The bin stubs are generated from a temoplate and have the following options
Note: in the following examples the gowapt command is a bin stub generated for the hombres/gowapt docker image
$ gowapt
$ gowapt stop
$ gowapt update
$ OPTS="--rm -ti -p 3000:3000" gowapt
$ EXTRA_OPTS="-v /usr/share/wordlists:/tmp/wordlists" gowapt
The above would mount and additional folder
$ MOUNT_HOME_DIR=true gowapt
The above command mounts you home dir inside the container (in the same location)
Content type
Image
Digest
Size
379 MB
Last updated
over 8 years ago
docker pull hombres/cutter