From 436d2762f0cb8325ec2d3429b066a72555b95aff Mon Sep 17 00:00:00 2001 From: Cherry Sakura Date: Fri, 27 Oct 2023 03:31:16 +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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4ce943d..85df50d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM debian:12 +FROM debian:12-slim + RUN echo '#!/bin/bash\nphp artisan "$@"' > /usr/bin/art && \ @@ -9,7 +10,7 @@ RUN echo '#!/bin/bash\nphp artisan "$@"' > /usr/bin/art && \ echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware" >> /etc/apt/sources.list && \ rm -rf /etc/apt/sources.list.d/debian.sources && \ apt update && \ - apt install -y --no-install-recommends wget lsb-release unzip && \ + apt install -y --no-install-recommends wget lsb-release unzip ca-certificates && \ wget --no-check-certificate -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && \ sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' && \ apt update && \