feat: 配置区域设置

This commit is contained in:
xiao 2024-11-02 10:03:42 +08:00
parent 83461a88c9
commit cec56bce90
2 changed files with 9 additions and 2 deletions

View File

@ -8,7 +8,6 @@ $:
push: push:
- runner: - runner:
tags: cnb:arch:amd64 tags: cnb:arch:amd64
cpus: 32
services: services:
- docker - docker
env: env:
@ -27,7 +26,6 @@ $:
- runner: - runner:
tags: cnb:arch:arm64:v8 tags: cnb:arch:arm64:v8
cpus: 32
services: services:
- docker - docker
env: env:

View File

@ -8,6 +8,7 @@ RUN apt update && apt upgrade -y
# 安装前置依赖 # 安装前置依赖
RUN apt install -y \ RUN apt install -y \
locales \
wget iproute2 openssh-server libgd-dev cmake make gcc g++ autoconf \ wget iproute2 openssh-server libgd-dev cmake make gcc g++ autoconf \
libsodium-dev libonig-dev libssh2-1-dev libc-ares-dev libaio-dev sudo curl dos2unix \ libsodium-dev libonig-dev libssh2-1-dev libc-ares-dev libaio-dev sudo curl dos2unix \
build-essential re2c cron bzip2 libzip-dev libc6-dev bison file rcconf flex vim m4 gawk less cpp binutils \ build-essential re2c cron bzip2 libzip-dev libc6-dev bison file rcconf flex vim m4 gawk less cpp binutils \
@ -16,6 +17,14 @@ RUN apt install -y \
libc-client2007e-dev psmisc patch git e2fsprogs libxslt1-dev xz-utils libgd3 libwebp-dev libvpx-dev \ libc-client2007e-dev psmisc patch git e2fsprogs libxslt1-dev xz-utils libgd3 libwebp-dev libvpx-dev \
libfreetype6-dev libjpeg62-turbo libjpeg62-turbo-dev libfreetype6-dev libjpeg62-turbo libjpeg62-turbo-dev
# 配置区域设置
RUN locale-gen en_US.UTF-8 \
&& update-locale LANG=en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
# 复制 bt.sh 文件 # 复制 bt.sh 文件
COPY bt.sh /bt.sh COPY bt.sh /bt.sh