update codeserver.
All checks were successful
Deploy Docker Images / Docusaurus build and Server deploy (push) Successful in 2m53s

This commit is contained in:
amass 2024-09-30 02:09:20 +08:00
parent 35e510aabb
commit cba97f20f9
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ jobs:
resources/build.sh build ${file}
done
- name: Clean <none> 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: |

View File

@ -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