Update .cnb.yml and Dockerfiles for architecture support and dependency updates

This commit is contained in:
xiao 2024-12-21 17:39:58 +08:00
parent e23d73318a
commit 819d262d96
3 changed files with 8 additions and 6 deletions

View File

@ -45,8 +45,10 @@ $:
type: cnb:resolve
options:
key: build-arm64
- services:
- runner:
tags: cnb:arch:amd64:v8
cpus: 2
services:
- docker
imports: https://cnb.cool/btpanel/secret/-/blob/main/docker.yml
env:

View File

@ -27,9 +27,9 @@ RUN curl -sSO https://download.bt.cn/install/install_panel.sh \
&& echo y | bash install_panel.sh -P 8888 --ssl-disable \
&& curl -o /lnmp/nginx.sh https://download.bt.cn/install/3/nginx.sh \
&& sh /lnmp/nginx.sh install 1.27 \
&& curl -o /lnmp/php.sh https://download.bt.cn/install/4/php.sh \
&& curl -o /lnmp/php.sh https://download.bt.cn/install/3/php.sh \
&& sh /lnmp/php.sh install 8.3 \
&& curl -o /lnmp/mysql.sh https://download.bt.cn/install/4/mysql.sh \
&& curl -o /lnmp/mysql.sh https://download.bt.cn/install/3/mysql.sh \
&& sh /lnmp/mysql.sh install 8.0 \
&& sh /lnmp/phpmyadmin.sh install 5.2 \
&& rm -rf /lnmp \

View File

@ -27,9 +27,9 @@ RUN curl -sSO https://download.bt.cn/install/install_panel.sh \
&& echo y | bash install_panel.sh -P 8888 --ssl-disable \
&& curl -o /lnmp/nginx.sh https://download.bt.cn/install/3/nginx.sh \
&& sh /lnmp/nginx.sh install openresty \
&& curl -o /lnmp/php.sh https://download.bt.cn/install/4/php.sh \
&& curl -o /lnmp/php.sh https://download.bt.cn/install/3/php.sh \
&& sh /lnmp/php.sh install 8.3 \
&& curl -o /lnmp/mysql.sh https://download.bt.cn/install/4/mysql.sh \
&& curl -o /lnmp/mysql.sh https://download.bt.cn/install/3/mysql.sh \
&& sh /lnmp/mysql.sh install 8.0 \
&& sh /lnmp/phpmyadmin.sh install 5.2 \
&& rm -rf /lnmp \