add a container build script
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
2277ac5bf8
commit
e1167b07b3
1 changed files with 13 additions and 0 deletions
13
build.sh
Executable file
13
build.sh
Executable 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
|
||||
|
Loading…
Reference in a new issue