fix: add -y

This commit is contained in:
iceBear67
2025-09-25 18:03:16 +08:00
parent ad1ea04549
commit 8bd1574024
+1 -1
View File
@@ -8,7 +8,7 @@ RUN <<EOF
apt update apt update
apt upgrade apt upgrade
chmod +x /bin/bubble chmod +x /bin/bubble
apt install curl jq neovim htop fish tmux sudo git iproute2 iputils-ping dnsutils openssh-sftp-server build-essential htop tini apt install -y curl jq neovim htop fish tmux sudo git iproute2 iputils-ping dnsutils openssh-sftp-server build-essential htop tini
useradd -m -s /usr/bin/fish user useradd -m -s /usr/bin/fish user
echo "user ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers echo "user ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers
sudo -u user mkdir -p /home/user/.config/fish/ sudo -u user mkdir -p /home/user/.config/fish/