add a container build script

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2018-06-06 13:00:10 -04:00
parent 2277ac5bf8
commit e1167b07b3
Signed by: vbatts
GPG key ID: 10937E57733F1362

13
build.sh Executable file
View file

@ -0,0 +1,13 @@
#!/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