While I was adding tests using commandunit, one of them requires curl command to be installed.
However, the docker image used for commandunit (You can see it here, which is originated in the image in jq-front).
I also got below error when I was trying to install curl command in the docker image that is launched by commandunit --debug-shell command.
I have no name!@8e93788c6fc1:/$ apt-get install curl 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?
If I add sudo to the beginning, I got this.
I have no name!@8e93788c6fc1:/$ sudo apt-get install curl bash: sudo: command not found
I'm not sure whether curl should be natively installed, but at least I'd like to have a capability to install another command required for the test.