From bafc209fc3f6a51a66433bed720989c46e7e186c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 20 Jun 2023 14:18:40 +0200 Subject: [PATCH] ci: Unset user and working dir in toolbox image The mutter image now uses a default user that doesn't exist outside the container, which makes the image unusable for toolbox. Undo the damage by unsetting the user again when building the toolbox image. --- .gitlab-ci/build-toolbox-image.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci/build-toolbox-image.sh b/.gitlab-ci/build-toolbox-image.sh index bd5e9e64a..529fd2866 100755 --- a/.gitlab-ci/build-toolbox-image.sh +++ b/.gitlab-ci/build-toolbox-image.sh @@ -69,6 +69,7 @@ build_container() { EOF buildah copy --chmod 755 $build_cntr $update_mutter /usr/bin/update-mutter + buildah config --user "" --workingdir / $build_cntr buildah config --env HOME- \ --label com.github.containers.toolbox=true \ --label org.opencontainers.image.base.name=$MUTTER_CI_IMAGE \