From 5413ab13613c2ea8bdca65cf7ffec0c595a3ae88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Blin?=
 <sebastien.blin@savoirfairelinux.com>
Date: Tue, 10 Jan 2023 16:12:06 -0500
Subject: [PATCH] Makefile: remove eol distrib and run with user

Change-Id: Ib31e7d311540d889283de681d74c1f8f82870365
---
 extras/packaging/gnu-linux/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/extras/packaging/gnu-linux/Makefile b/extras/packaging/gnu-linux/Makefile
index 0ad56635e..8458348dd 100644
--- a/extras/packaging/gnu-linux/Makefile
+++ b/extras/packaging/gnu-linux/Makefile
@@ -168,10 +168,8 @@ DISTRIBUTIONS := \
 	ubuntu_20.04 \
 	ubuntu_22.04 \
 	ubuntu_22.10 \
-	fedora_35 \
 	fedora_36 \
 	fedora_37 \
-	opensuse-leap_15.3 \
 	opensuse-leap_15.4 \
 	snap
 
@@ -191,6 +189,7 @@ $(1)-docker-image-name := jami-packaging-$(1)
 $(1)-docker-image-file := .docker-image-$$($(1)-docker-image-name)
 $(1)-docker-run-command := docker run \
   --rm --privileged --security-opt apparmor=docker-default \
+  --user $(CURRENT_UID):$(CURRENT_GID) \
   -e RELEASE_VERSION="$(RELEASE_VERSION)" \
   -e RELEASE_TARBALL_FILENAME="$(RELEASE_TARBALL_FILENAME)" \
   -e DEBIAN_VERSION="$(DEBIAN_VERSION)" \
-- 
GitLab