From cba97f20f9cd42fd472dafa451f6464a97869d50 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Mon, 30 Sep 2024 02:09:20 +0800 Subject: [PATCH] update codeserver. --- .gitea/workflows/deploy.yaml | 2 +- ubuntu2404.dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index ababe67..780c9cb 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -35,7 +35,7 @@ jobs: resources/build.sh build ${file} done - name: Clean Docker Image - run: docker images -f "dangling=true" -q | xargs docker rmi + run: docker images -f "dangling=true" -q | xargs -r docker rmi - name: Notify-End if: ${{ always() }} run: | diff --git a/ubuntu2404.dockerfile b/ubuntu2404.dockerfile index 42be1b6..ebc4c35 100644 --- a/ubuntu2404.dockerfile +++ b/ubuntu2404.dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:24.04 LABEL maintainer="amass <168062547@qq.com>" ENV DEBIAN_FRONTEND=noninteractive -ENV CODE_VERSION=4.92.2 +ENV CODE_VERSION=4.93.1 RUN sed -i 's@//.*archive.ubuntu.com@//mirrors.ustc.edu.cn@g' /etc/apt/sources.list.d/ubuntu.sources \ && apt update \ @@ -74,7 +74,7 @@ ENV LC_ALL=C.UTF-8 ENV TERM=xterm-256color ENTRYPOINT ["/usr/bin/tini", "--"] -CMD ["bash", "-c", "service ssh start && code-server --bind-addr 0.0.0.0:8087"] +CMD ["bash", "-c", "service ssh start && code-server --bind-addr 0.0.0.0:8087 --abs-proxy-base-path=/codeserver"] # docker build --progress=tty -f ubuntu2404.dockerfile -t frp-by1.wwvvww.cn:45288/ubuntu_dev:24.04 . # docker push frp-by1.wwvvww.cn:45288/ubuntu_dev:24.04 \ No newline at end of file