From: Bastian Dehn Date: Fri, 20 Dec 2024 11:09:03 +0000 (+0100) Subject: change builder without root X-Git-Tag: v1.0.8^2~3 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=fe75231d62de9027049c3f33a6e74ba533a7d126;p=sane-kds-s2000w-net.git change builder without root --- 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