Cannot install packages on bamboo-base-agent docker image

XMLWordPrintable

    • Type: Bug
    • Resolution: Obsolete
    • Priority: Low
    • None
    • Affects Version/s: None
    • Component/s: Docker
    • None
    • Severity 3 - Minor

      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

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

              Created:
              Updated:
              Resolved: