Initial commit

This commit is contained in:
2026-02-09 15:12:44 +00:00
commit e54bcb3228
14 changed files with 490 additions and 0 deletions

14
scripts/check-base.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
BASE=$(grep "^FROM" Dockerfile | head -1 | awk '{print $2}')
echo "Base image: $BASE"
docker pull $BASE
LOCAL_DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' $BASE)
REMOTE_DIGEST=$(skopeo inspect docker://$BASE | jq -r .Digest)
if [ "$LOCAL_DIGEST" != "$REMOTE_DIGEST" ]; then
echo "Base image updated!"
exit 1
fi