From b879c5db9d5624c748903f562dcb0a56104374f0 Mon Sep 17 00:00:00 2001 From: Cherry Sakura Date: Fri, 27 Oct 2023 02:33:08 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 136666b..bd76606 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,13 +4,13 @@ RUN echo '#!/bin/bash\nphp artisan "$@"' > /usr/bin/art && \ chmod +x /usr/bin/art -#RUN echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware" > /etc/apt/sources.list && \ -# echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware" >> /etc/apt/sources.list && \ -# echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware" >> /etc/apt/sources.list && \ -# echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware" >> /etc/apt/sources.list +RUN echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware" > /etc/apt/sources.list && \ + echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware" >> /etc/apt/sources.list && \ + echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware" >> /etc/apt/sources.list && \ + echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware" >> /etc/apt/sources.list -RUN echo "https://mirrors.tuna.tsinghua.edu.cn/debian" > /etc/apt/mirrors/debian.list && \ - echo "https://mirrors.tuna.tsinghua.edu.cn/debian-security" > /etc/apt/mirrors/debian-security.list + +RUN rm -rf /etc/apt//sources.list.d/debian.sources RUN apt update RUN apt install wget lsb-release unzip -y