feat!: 移除内置公共服务器

- 移除公共 RustDesk ID 服务器 (用户需自行配置)
- 移除公共 TURN 服务器 (仅保留 Google STUN)
- 清理废弃代码: PublicServerInfo, is_using_public_server 等
- 更新前端 UI 和国际化文本
- 重新生成 TypeScript 类型

破坏性变更: 不再提供内置公共服务器。用户必须配置自己的
RustDesk 服务器和 TURN 服务器才能在生产环境中使用。
This commit is contained in:
mofeng-git
2026-01-08 16:53:19 +08:00
parent 9ab3d052f9
commit 3fa91772f0
20 changed files with 635 additions and 500 deletions

View File

@@ -8,40 +8,28 @@ FROM debian:12-slim
ARG TARGETPLATFORM
# Install runtime dependencies and create directories
RUN apt-get update && apt-get install -y --no-install-recommends \
# Runtime libraries
libasound2 \
libv4l-0 \
libudev1 \
zlib1g \
libjpeg62-turbo \
libyuv0 \
# FFmpeg runtime
libavcodec59 \
libavformat59 \
libavutil57 \
libswscale6 \
libswresample4 \
# Video codecs
libx264-164 \
libx265-199 \
libvpx7 \
# Audio codec
libopus0 \
# Hardware acceleration
libva2 \
libva-drm2 \
libdrm2 \
# X11 (for VAAPI)
libx11-6 \
libxcb1 \
# Utilities
ca-certificates \
# Intel Media SDK (x86_64 only, ignored on other archs)
$([ "$TARGETPLATFORM" = "linux/amd64" ] && echo "libmfx1") \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /etc/one-kvm/ventoy
# Install runtime dependencies in a single layer
# Static linked: FFmpeg core, libyuv, libvpx, libjpeg-turbo
# Dynamic linked: hardware acceleration drivers, GPL codecs (x264/x265)
RUN apt-get update && \
apt-get install -y --no-install-recommends \
# Core runtime (all platforms)
libasound2 \
libv4l-0 \
libudev1 \
libdrm2 \
libopus0 \
ca-certificates \
# GPL codecs (must be dynamic for license compliance)
libx264-164 \
libx265-199 && \
# Platform-specific hardware acceleration
if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
apt-get install -y --no-install-recommends \
libva2 libva-drm2 libva-x11-2 libx11-6 libxcb1 libmfx1; \
fi && \
rm -rf /var/lib/apt/lists/* && \
mkdir -p /etc/one-kvm/ventoy
# Copy init script
COPY --chmod=755 init.sh /init.sh