update to support bubble 0.3.0^, fix various problems and support loading tailscale

This commit is contained in:
iceBear67
2025-09-25 16:40:10 +08:00
parent 86b3d8b97a
commit b3e32f11bc
3 changed files with 51 additions and 39 deletions
+2 -1
View File
@@ -7,10 +7,11 @@ COPY --from=0 --chmod=0755 /src/bubble.sh /bin/bubble
RUN <<EOF
apt-get update && apt-get upgrade
chmod +x /bin/bubble
apt-get install -y curl jq neovim htop fish tmux sudo git iproute2 iputils-ping dnsutils build-essential htop
apt-get install -y curl jq neovim htop fish tmux sudo git iproute2 iputils-ping dnsutils openssh-sftp-server build-essential htop
useradd -m -s /usr/bin/fish user
echo "user ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers
sudo -u user mkdir -p /home/user/.config/fish/
ln -s /usr/lib/openssh/sftp-server /usr/sbin/bubble-sftp
EOF
COPY ./init.fish /init.fish
COPY --chown=user ./user.fish /home/user/.config/fish/config.fish