Description
Inside Docker containers, processes usually run as root. The action uses sudo to install packages via apt. This has two downsides:
- You may have to install
sudo to make the action work.
- Since sudo runs without
-E environment variables are not forwarded.
Completion Criteria
The action should provide two options:
- flag to select if actions should run with or without sudo
- parameter to provide additional command line argument to sudo, e.g.
-E.
Testing Notes / Suggestions
Add an additional test where the action runs as root without sudo being installed.
Description
Inside Docker containers, processes usually run as root. The action uses sudo to install packages via apt. This has two downsides:
sudoto make the action work.-Eenvironment variables are not forwarded.Completion Criteria
The action should provide two options:
-E.Testing Notes / Suggestions
Add an additional test where the action runs as root without
sudobeing installed.