update workspace

This commit is contained in:
iceBear67
2025-08-26 17:34:15 +08:00
parent eb0cc64b28
commit 86b3d8b97a
2 changed files with 9 additions and 6 deletions
+6 -5
View File
@@ -1,12 +1,13 @@
FROM golang:1.24
RUN git clone https://github.com/iceBear67/bubble /bubble && cd /bubble/ && bash ./build.sh
FROM alpine/git
WORKDIR /src
RUN git clone https://github.com/iceBear67/bubble .
FROM debian:11
COPY --from=0 /bubble/target/client /bin/bubble
FROM debian:13
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
apt-get install -y curl jq neovim htop fish tmux sudo git iproute2 iputils-ping dnsutils 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/