@@ -381,6 +381,8 @@ def handle_stepnum(stepnum):
# password from stdin (see login case in vcontainer-common.sh).
"trap '%s-$(arch) memres stop 2>/dev/null || true' EXIT" % runtime,
"%s-$(arch) --config %s memres restart </dev/null" % (runtime, auth_config),
+ # workaround for 'Error: reading blob sha256:<hash>: file integrity checksum failed for "<file>"'
+ "%s-$(arch) image rm --all 2>/dev/null" % (runtime),
]
tag_cmds = utils.getconfiglist("CONTAINER_TAG_CMDS", ourconfig, args.target, stepnum)
version_recipe = utils.getconfigvar("CONTAINER_VERSION_RECIPE", ourconfig, args.target, stepnum)