From cbfca5a4aea721cfed7002ba1a30ef7dd8a5b497 Mon Sep 17 00:00:00 2001 From: Andrei Condurachi Date: Mon, 7 Dec 2020 18:25:43 +0200 Subject: [PATCH] amphp update --- Dockerfile | 6 ++++-- example.php | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6925e56..0a76117 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN apk add --no-cache \ tini \ openrc \ busybox-initscripts \ - # Needed packages + # Required packages composer \ grep \ git \ @@ -22,7 +22,9 @@ RUN apk add --no-cache \ shadow \ supervisor \ 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 # https://gitlab.alpinelinux.org/alpine/aports/-/issues/9279 diff --git a/example.php b/example.php index 477d847..5c7064c 100644 --- a/example.php +++ b/example.php @@ -1,5 +1,8 @@ +#!/usr/bin/env php