From 841c58943e893658e00fef64504b82c212544687 Mon Sep 17 00:00:00 2001 From: enoch Date: Mon, 22 Jun 2026 02:55:27 +0800 Subject: [PATCH] Remove kilocode dev container files --- kilocode/Containerfile | 34 ---------------------------------- kilocode/compose.yaml | 18 ------------------ kilocode/launch.sh | 27 --------------------------- kilocode/start-ssh.sh | 7 ------- 4 files changed, 86 deletions(-) delete mode 100644 kilocode/Containerfile delete mode 100644 kilocode/compose.yaml delete mode 100644 kilocode/launch.sh delete mode 100755 kilocode/start-ssh.sh diff --git a/kilocode/Containerfile b/kilocode/Containerfile deleted file mode 100644 index 7c92eca..0000000 --- a/kilocode/Containerfile +++ /dev/null @@ -1,34 +0,0 @@ -FROM docker.io/library/debian:12 -LABEL maintainer="clzhao98@outlook.com" -RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list.d/debian.sources -RUN apt-get update && apt-get install -y \ - openssh-server build-essential cmake ninja-build\ - git vim-nox curl jq ripgrep bash-completion wget python3&& \ - apt-get clean &&\ - rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* - -ENV http_proxy="socks5://10.177.21.228:10808" -ENV https_proxy="socks5://10.177.21.228:10808" -ENV no_proxy="localhost, 127.0.0.1, .example.com" - - -LABEL description="Basic image for develop on debian12" -LABEL version="1.0" -EXPOSE 1922 80 9000 - - -## 配置 ssh 服务 -RUN mkdir /var/run/sshd -RUN echo "Port 1922" >> /etc/ssh/sshd_config -RUN echo "RSAAuthentication yes" >> /etc/ssh/sshd_config -RUN echo "root:art@319" | chpasswd \ - && sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config \ - && sed -i 's/^#\(PermitRootLogin.*\)/\1/' /etc/ssh/sshd_config - - -ADD start-ssh.sh /start-ssh.sh -WORKDIR /workspace - -CMD ["/start-ssh.sh"] -#CMD ["service", "ssh", "start" ] -#CMD ["/usr/sbin/sshd", "-D", "-p", "1922"] diff --git a/kilocode/compose.yaml b/kilocode/compose.yaml deleted file mode 100644 index e4310ab..0000000 --- a/kilocode/compose.yaml +++ /dev/null @@ -1,18 +0,0 @@ -services: - general-debian-dev: - image: vibecoding:default - build: - context: . - dockerfile: Containerfile - container_name: vibe-coding - hostname: vibe-conding - restart: unless-stopped - # ports: - # - "5173:5173" - # - "4173:4173" - # - "5050:5050" - volumes: - - /workspace/projects/:/projects - - /workspace:/workspace - - /workspace/devcontainer-vols/vibe-coding-root:/root - diff --git a/kilocode/launch.sh b/kilocode/launch.sh deleted file mode 100644 index 2952ce0..0000000 --- a/kilocode/launch.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash -function show_help() { - echo "用法: $0 <容器名称> <工作空间路径>" - echo - echo "参数:" - echo " <容器名称> 容器的名称" - echo " <工作空间路径> 工作空间的路径" - exit 1 -} - -# 参数检查 -if [ -z "$1" ] || [ -z "$2" ]; then - echo "错误: 缺少必要的参数。" - show_help -fi - -container_name=$1 -worksapce_path=$2 -basic_volume_map="-v /workspace/shared-root:/root" -basic_port_map="-p 10122:1922" -base_cmd="docker run -itd --name ${container_name} --hostname ${container_name} ${basic_port_map} ${basic_volume_map}" -image_name="dev-workspace:v2" -volume_map="" - -cmd="$base_cmd $volume_map $image_name" -echo ">>> $cmd" -$cmd diff --git a/kilocode/start-ssh.sh b/kilocode/start-ssh.sh deleted file mode 100755 index f91a6e5..0000000 --- a/kilocode/start-ssh.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -LOGTIME=$(date "+%Y-%m-%d %H:%M:%S") -echo "[$LOGTIME] startup run..." >>/root/start_ssh.log -service ssh start >>/root/start_ssh.log -#service mysql start >>/root/star_mysql.lo -bash