From c3fd5565d2b61c248b1e826e807c5e9beb5f598c Mon Sep 17 00:00:00 2001 From: xiao Date: Tue, 17 Dec 2024 22:51:11 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20Dockerfile=20?= =?UTF-8?q?=E4=BB=A5=E4=BC=98=E5=8C=96=E5=AE=9D=E5=A1=94=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E8=84=9A=E6=9C=AC=E5=92=8C=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1187ae1..39df883 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,8 @@ COPY ["bt.sh", "init_mysql.sh", "install_panel.sh", "/"] RUN dos2unix /bt.sh && dos2unix /init_mysql.sh && dos2unix /install_panel.sh # 下载并安装宝塔面板及 lnmp 环境 -RUN echo y | bash /install_panel.sh -P 8888 --ssl-disable \ +RUN curl -sSO https://download.bt.cn/install/install_panel.sh \ + && echo y | bash install_panel.sh -P 8888 --ssl-disable \ && rm -rf /www/server/data/* \ && echo "docker_bt_alpine" > /www/server/panel/data/o.pl \ && echo '["memuA", "memuAsite", "memuAdatabase", "memuAcontrol", "memuAfiles", "memuAlogs", "memuAxterm", "memuAcrontab", "memuAsoft", "memuAconfig", "dologin", "memu_btwaf", "memuAssl"]' > /www/server/panel/config/show_menu.json \