Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

php image slight issues #6

@steenbras

Description

@steenbras

A couple of things with the php image that I had to fix:

Firstly the directory for the tail didn't exist, so I added a mkdir -p to the ./php/phd

d=/var/tmp/phd/log
f=daemons.log
/src/phabricator/bin/phd start
mkdir -p $d
touch $d/$f
exec tail -F $d/$f

Secondly, phab daemons weren't started correctly. Logs showed a problem with the ps process:

COMMAND
ps -o pid,command -a -x -w -w -w

STDOUT
(empty)

STDERR
ps: unrecognized option: x
BusyBox v1.28.4 (2018-12-31 18:05:13 UTC) multi-call binary.

Simple fix, just added the procps to the ./php/Dockerfile :

    git \
    ...
    procps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions