Skip to content

Consider having capability to install another command that is not natively installed #39

@naonaonao316

Description

@naonaonao316

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions