This commit is contained in:
30404 2024-07-13 13:20:57 +08:00
commit 7a3a519e90
6 changed files with 3 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 KiB

View File

@ -56,6 +56,8 @@ ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLA
RUN tar -C / -Jxpf /tmp/s6-overlay-symlinks-arch.tar.xz && \ RUN tar -C / -Jxpf /tmp/s6-overlay-symlinks-arch.tar.xz && \
useradd -u 911 -U -d /config -s /bin/false abc && \ useradd -u 911 -U -d /config -s /bin/false abc && \
usermod -G users abc && \ usermod -G users abc && \
echo "abc:123456" | chpasswd && \
usermod -aG sudo dmdba && \
mkdir -p \ mkdir -p \
/app \ /app \
/config \ /config \

View File

@ -364,7 +364,7 @@ def teacher_list_pods():
def teacher_list_services(): def teacher_list_services():
return list_services() return list_services()
# @app.route("/api/teacher/create_pod") # 创建服务 1为项目实训 0为安装实训 # @app.route("/api/teacher/create_pod") # 创建服务 1为项目实训 0为安装实训
# def teacher_create_pod(): # def teacher_create_pod():
# create_pod(1, "test2") # create_pod(1, "test2")