Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35355

Allow the user to be specified.

XMLWordPrintable

      At time there is the need to install system packages prior to running the tests or as part of the tests. This is currently prevented by the plugin

      + make run_rspec
      E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
      E: Unable to lock directory /var/lib/apt/lists/
      E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
      E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
      Makefile:23: recipe for target 'run_rspec' failed
      make: *** [run_rspec] Error 100
      Build step 'Execute shell' marked build as failure
      Stopping Docker container after build completion
      Finished: FAILURE
      

      We are currently able to set the user group but not the user itself. Being able to specify the user (or remove the --user flag form the docker run) would fix this issue.

            ndeloof Nicolas De Loof
            eglembor Roberto Moral
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: