fuzz-walker/build.sh
Vincent Batts e1167b07b3
add a container build script
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2018-06-06 13:00:10 -04:00

13 lines
489 B
Bash
Executable file

#!/bin/bash
name="fuzz-walker-build"
buildah rm ${name}
buildah from --name ${name} --pull alpine:latest
buildah config --entrypoint "/usr/bin/fuzz-walker" ${name}
buildah config --author "Vincent Batts <vbatts@hashbangbash.com>" ${name}
buildah config --comment "fuzzer for poking at system files" ${name}
buildah copy ${name} ./fuzz-walker /usr/bin/fuzz-walker
buildah commit ${name} "${USER}"/fuzz-walker
buildah push "${USER}"/fuzz-walker docker-daemon:"${USER}"/fuzz-walker:latest