From 00a18b22349b00d6fc6de5dd2f6075d3968c9dac Mon Sep 17 00:00:00 2001 From: Andrew Hayzen Date: Tue, 17 Dec 2024 18:07:30 +0900 Subject: [PATCH] common: further fixes for Ubuntu 24.04 images --- data/common/ubuntu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/common/ubuntu b/data/common/ubuntu index a400647..616a704 100644 --- a/data/common/ubuntu +++ b/data/common/ubuntu @@ -21,8 +21,9 @@ RUN apt-get update \ pipewire-bin \ && locale-gen en_GB.UTF-8 \ && yes | unminimize \ + && mkdir -p /etc/sudoers.d \ && echo "ALL ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/nopasswd-sudo \ - && userdel --force --remove ubuntu || true \ + && (userdel --force --remove ubuntu || true) \ && echo '[[ ! "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] && export PATH="$HOME/.local/bin:$HOME/bin:$PATH"' > /etc/profile.d/90-path-local-bin.sh \ && apt-get install --yes \ cloc \