remove backup user from dockerfile

This commit is contained in:
Julian Wefers
2026-06-02 17:40:22 +02:00
parent 2757744ec9
commit 4165798a02
3 changed files with 16 additions and 10 deletions
-2
View File
@@ -2,11 +2,9 @@ REPO="gitea.wefers.page/julian/backup-server"
TAG="latest"
build() {
read -srp "Desired password for user 'backup' in resulting container image: " password
# ABSOLUTELY DO NOT USE --squash, as ostree NEEDS the layers
sudo buildah build \
-t ${REPO}:${TAG} \
--build-arg PASSWORD="${password}" \
--pull \
--layers \
--format oci \