feat(ubuntu): introduce code-server

This commit is contained in:
2024-05-30 15:11:11 +08:00
parent 18a3898865
commit 517c5fc27d
3 changed files with 51 additions and 3 deletions

View File

@@ -8,7 +8,8 @@ RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
build-essential cmake openssh-server git-all sudo ssh sshpass pciutils \
python3 python3-dev python3-pip curl ca-certificates vim zsh tmux bash \
inetutils-ping less wget dialog net-tools dnsutils netcat traceroute \
cron htop zip dkms \
cron htop zip openssl \
&& curl -fsSL https://code-server.dev/install.sh | sh \
&& rm -rf /var/lib/apt/list/*
# mlnx ofed
@@ -20,4 +21,5 @@ RUN cd /tmp && wget http://192.168.16.118/MLNX_OFED_LINUX-5.8-3.0.7.0-ubuntu20.0
# startup
COPY startup.sh /etc/startup.sh
COPY code.sh /usr/bin/code.sh
ENTRYPOINT ["/etc/startup.sh"]