particle-os-cli/scripts/post_build.sh

9 lines
135 B
Bash

#!/usr/bin/env bash
set -euo pipefail
rm -rf /tmp/* /var/* /usr/etc
if command -v bootc > /dev/null; then
bootc container lint
fi