feat: 放弃构建phpmyadmin

This commit is contained in:
xiao 2024-11-02 13:59:48 +08:00 committed by cnb
parent d9cbf68384
commit 373c0658c2

View File

@ -15,7 +15,7 @@ RUN apt install -y \
diffutils unzip tar libbz2-dev libncurses5 libncurses5-dev libtool libevent-dev libssl-dev libsasl2-dev \ diffutils unzip tar libbz2-dev libncurses5 libncurses5-dev libtool libevent-dev libssl-dev libsasl2-dev \
libltdl-dev zlib1g-dev libglib2.0-0 libglib2.0-dev libkrb5-dev libpq-dev libpq5 gettext libcap-dev \ libltdl-dev zlib1g-dev libglib2.0-0 libglib2.0-dev libkrb5-dev libpq-dev libpq5 gettext libcap-dev \
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 iptables firewalld libfreetype6-dev libjpeg62-turbo libjpeg62-turbo-dev iptables
# 配置区域设置 # 配置区域设置
RUN locale-gen en_US.UTF-8 RUN locale-gen en_US.UTF-8
@ -44,16 +44,21 @@ RUN curl -sSO https://download.bt.cn/install/install_panel.sh \
# 创建目录 # 创建目录
RUN mkdir -p /lnmp RUN mkdir -p /lnmp
# 安装 Nginx 1.27, PHP 8.3, MySQL 8.0 和 phpMyAdmin 5.2 # 安装 lnmp 环境
# 创建目录
RUN mkdir -p /lnmp
# 安装 Nginx 1.27
RUN curl -o /lnmp/nginx.sh https://download.bt.cn/install/3/nginx.sh \ RUN curl -o /lnmp/nginx.sh https://download.bt.cn/install/3/nginx.sh \
&& sh /lnmp/nginx.sh install 1.27 \ && sh /lnmp/nginx.sh install 1.27
&& curl -o /lnmp/php.sh https://download.bt.cn/install/4/php.sh \
&& sh /lnmp/php.sh install 8.3 \ # 安装 PHP 8.3
&& curl -o /lnmp/mysql.sh https://download.bt.cn/install/4/mysql.sh \ RUN curl -o /lnmp/php.sh https://download.bt.cn/install/4/php.sh \
&& sh /lnmp/mysql.sh install 8.0 \ && sh /lnmp/php.sh install 8.3
&& service nginx start \
&& curl -o /lnmp/phpmyadmin.sh https://download.bt.cn/install/4/phpmyadmin.sh \ # 安装 MySQL 8.0
&& sh /lnmp/phpmyadmin.sh install 5.2 RUN curl -o /lnmp/mysql.sh https://download.bt.cn/install/4/mysql.sh \
&& sh /lnmp/mysql.sh install 8.0
# 清理安装包 # 清理安装包
RUN rm -rf /lnmp \ RUN rm -rf /lnmp \