Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-16363

Cannot install packages on bamboo-base-agent docker image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Low Low
    • None
    • None
    • Docker
    • None

      Via apt-get
      Tried nodejs and ruby

      Docker file

      FROM atlassian/bamboo-base-agent
      
      RUN apt-get update
      RUN apt-get install -y nodejs
      

      Output

      > docker build -t bamboo-agent-node . 
      Sending build context to Docker daemon 2.048 kB
      Sending build context to Docker daemon
      Step 0 : FROM atlassian/bamboo-base-agent
       ---> 556ff1660fb5
      Step 1 : RUN apt-get update
       ---> Using cache
       ---> 96d6992cfbf2
      Step 2 : RUN apt-get install -y nodejs
       ---> Running in a0d7b7873a3e
      Reading package lists...
      Building dependency tree...
      Reading state information...
      E: Unable to locate package nodejs
      INFO[0001] The command [/bin/sh -c apt-get install -y nodejs] returned a non-zero code: 100
      

      Works fine from the ubuntu image

              Unassigned Unassigned
              xtjhin Joshua Tjhin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: