Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pitivi pitivi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 194
    • Issues 194
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • pitivipitivi
  • Merge requests
  • !343

Draft: Migrate from docker to buildah

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Alexandru Băluț requested to merge aleb/pitivi:buildah into master Dec 22, 2020
  • Overview 0
  • Commits 2
  • Pipelines 1
  • Changes 7

For fixing #2492

This should work, but running flatpak-builder in a Buildah container in a Docker container does not work.

The error happens when flatpak-builder attempts to build the first module, looks like:

Starting build of org.pitivi.Pitivi
========================================================================
Building module python3-ipdb in /build/pitivi-flatpak-cache/build/python3-ipdb-1
========================================================================
Running: pip3 install --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} ipdb
bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.
Error: module python3-ipdb: Child process exited with code 1
subprocess exited with status 1

This happens despite the docker container created by the Gitlab Runner being privileged.

Edited Oct 24, 2021 by Alexandru Băluț
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: buildah