Hi, I am trying to modify the existing docker bamboo server image to suit my requirements like installing old maven version and other software's for capabilities through building docker file from Atlassian/bamboo-server image. But i am getting few issue as below while running the docker file.
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
also if i use sudo in docker file i get the below error.
/bin/sh: 1: sudo: not found
can someone please suggest a solution or the correct way to customise the bamboo server image to suit my requirements by downloading different capabilities.
Thank you in advance.