#!/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

