util-docker: Add 'sudo' to Ubuntu 24.04_all-deps
Without this an admin user entering a container mirroring host user permissions can't run `sudo` within the container as it doesn't exist. They also can't install it as `apt install` requires `sudo`. As 24.04_all-deps serves as the base images for other images, this change will be reflected in most other gem5 Docker images.
This commit is contained in:
@@ -56,7 +56,8 @@ RUN apt -y update && apt -y upgrade && apt -y install \
|
||||
wget \
|
||||
cmake \
|
||||
doxygen \
|
||||
vim
|
||||
vim \
|
||||
sudo
|
||||
|
||||
# pre-commit, as installed via apt in 24.04, attempts to create a cache
|
||||
# directory at "${HOME}/.cache/pre-commit". If running docker with non-root,
|
||||
|
||||
Reference in New Issue
Block a user