For container images targeted at cross-building, we bake a small
amount of architecture-specific information in the environment so
that builds can work as expected without requiring additional work
from the user; unfortunately this information got lost as soon as
we called sudo. Explicitly allow it.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
--login \
--user="#$(CI_UID)" \
--group="#$(CI_GID)" \
+ CONFIGURE_OPTS="$$CONFIGURE_OPTS" \
+ PKG_CONFIG_LIBDIR="$$PKG_CONFIG_LIBDIR" \
CI_CONT_SRCDIR="$(CI_CONT_SRCDIR)" \
CI_CONT_BUILDDIR="$(CI_CONT_BUILDDIR)" \
CI_SMP="$(CI_SMP)" \