#!/usr/bin/env bash set -euo pipefail IMAGE_NAME="tintounn/my-fedora" IMAGE_TAG="latest" PULL_POLICY="${PULL_POLICY:-missing}" echo "[INFO] Build de l'image (pull=${PULL_POLICY})..." buildah bud --pull="${PULL_POLICY}" --isolation chroot -t localhost/${IMAGE_NAME}:${IMAGE_TAG} .