From fe75231d62de9027049c3f33a6e74ba533a7d126 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Fri, 20 Dec 2024 12:09:03 +0100 Subject: [PATCH] change builder without root --- builder/build-in-container | 7 ------- 1 file changed, 7 deletions(-) diff --git a/builder/build-in-container b/builder/build-in-container index f113eda..79b40cf 100755 --- a/builder/build-in-container +++ b/builder/build-in-container @@ -2,13 +2,6 @@ main() { - user=$(whoami) - - if [ "$user" != "root" ]; then - echo "ERROR: you must run as root" - exit 1 - fi - imageExists=$(podman image ls | grep sane-kds-s2000w-net-builder-bookworm) if [ -z "$imageExists" ]; then podman build -f builder/Containerfile-bookworm -t sane-kds-s2000w-net-builder-bookworm -- 2.39.5