Created
October 8, 2021 14:27
-
-
Save sanchezl/095b5af883ab64ea55566140e7423d82 to your computer and use it in GitHub Desktop.
imagebuilder adapter for buildah
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
for arg in "$@"; do | |
shift | |
case "$arg" in | |
--version) echo 1.2.1 ; exit ;; | |
--allow-pull) ;; | |
*) set -- "$@" "$arg" ;; | |
esac | |
done | |
buildah bud "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment