增加 roadrunner
This commit is contained in:
parent
d4407852be
commit
38d7cbae60
@ -1,7 +1,6 @@
|
|||||||
FROM debian:12-slim
|
FROM debian:12-slim
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
RUN echo '#!/bin/bash\nphp artisan "$@"' > /usr/bin/art && \
|
RUN echo '#!/bin/bash\nphp artisan "$@"' > /usr/bin/art && \
|
||||||
chmod +x /usr/bin/art && \
|
chmod +x /usr/bin/art && \
|
||||||
DEBIAN_FRONTEND=noninteractive echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware" > /etc/apt/sources.list && \
|
DEBIAN_FRONTEND=noninteractive echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware" > /etc/apt/sources.list && \
|
||||||
@ -27,3 +26,9 @@ RUN pecl channel-update pecl.php.net && MAKEFLAGS="-j $(nproc)" pecl install gr
|
|||||||
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
|
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
|
||||||
|
|
||||||
COPY php.ini /etc/php/8.3/cli/conf.d/99-custom.ini
|
COPY php.ini /etc/php/8.3/cli/conf.d/99-custom.ini
|
||||||
|
|
||||||
|
# Setup roadrunner
|
||||||
|
RUN wget "http://192.168.81.102/roadrunner-2023.3.8-linux-amd64.deb" -O rr.deb && \
|
||||||
|
dpkg -i rr.deb && \
|
||||||
|
rm -rf rr.deb
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user