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 && \