amphp update

This commit is contained in:
Andrei Condurachi 2020-12-07 18:25:43 +02:00
parent fd70f9e2ef
commit cbfca5a4ae
2 changed files with 7 additions and 2 deletions

View File

@ -13,7 +13,7 @@ RUN apk add --no-cache \
tini \ tini \
openrc \ openrc \
busybox-initscripts \ busybox-initscripts \
# Needed packages # Required packages
composer \ composer \
grep \ grep \
git \ git \
@ -22,7 +22,9 @@ RUN apk add --no-cache \
shadow \ shadow \
supervisor \ supervisor \
inotify-tools \ inotify-tools \
php7 # PHP related
php7 \
php7-pcntl
# Syslog option '-Z' was changed to '-t', change this in /etc/conf.d/syslog so that syslog (and then cron) actually starts # Syslog option '-Z' was changed to '-t', change this in /etc/conf.d/syslog so that syslog (and then cron) actually starts
# https://gitlab.alpinelinux.org/alpine/aports/-/issues/9279 # https://gitlab.alpinelinux.org/alpine/aports/-/issues/9279

View File

@ -1,5 +1,8 @@
#!/usr/bin/env php
<?php <?php
require "./vendor/autoload.php";
use Amp\Http\Server\RequestHandler\CallableRequestHandler; use Amp\Http\Server\RequestHandler\CallableRequestHandler;
use Amp\Http\Server\HttpServer; use Amp\Http\Server\HttpServer;
use Amp\Http\Server\Request; use Amp\Http\Server\Request;