From 711d02f2da7f5b25457dc2869fa4301f1b62fcc7 Mon Sep 17 00:00:00 2001 From: Kenny Yang Date: Thu, 29 May 2025 01:59:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3Dockerfile=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复init_env.sh脚本中Dockerfile下载路径错误的问题,将重复的Dockerfile下载改为分别下载Dockerfile.php和Dockerfile.postgres文件 --- local/init_env.sh | 4 ++-- vps/init_env.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/local/init_env.sh b/local/init_env.sh index 90f83ef..fc44069 100644 --- a/local/init_env.sh +++ b/local/init_env.sh @@ -79,7 +79,7 @@ sed -i "s/appendonly no/appendonly yes/g" /home/app/redis/conf/redis.conf # 下载Docker Compose文件和Dockerfile wget -O /home/app/docker-compose.yml https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/docker-compose.yml -wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/Dockerfile.php -wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/Dockerfile.postgres +wget -O /home/app/Dockerfile.php https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/Dockerfile.php +wget -O /home/app/Dockerfile.postgres https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/Dockerfile.postgres echo "Initialization script completed successfully." diff --git a/vps/init_env.sh b/vps/init_env.sh index 15aa3a4..f90555f 100644 --- a/vps/init_env.sh +++ b/vps/init_env.sh @@ -57,7 +57,7 @@ sed -i "s/appendonly no/appendonly yes/g" /home/app/redis/conf/redis.conf # 下载Docker Compose文件和Dockerfile wget -O /home/app/docker-compose.yml https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/vps/docker-compose.yml -wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/vps/Dockerfile.php -wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/vps/Dockerfile.postgres +wget -O /home/app/Dockerfile.php https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/vps/Dockerfile.php +wget -O /home/app/Dockerfile.postgres https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/vps/Dockerfile.postgres echo "Initialization script completed successfully."