Add procps dependency to Dockerfile

Certain evennia commands, such as the server command, rely upon
ps to run correctly. Unfortunately, alpine uses the BusyBox ps command,
which is somewhat idiosyncratic in its option handling. Adding
the procps dependency installs a more standard ps command, allowing
server maintenance commands to work correctly. This fixes #1635.

For further background, see gliderlabs/docker-alpine#173.
This commit is contained in:
Aris (Karim) Merchant 2018-07-23 16:56:57 -07:00
parent 27875ba04d
commit 4eb765f155

View file

@ -5,11 +5,11 @@
# install `docker` (http://docker.com)
#
# Usage:
# cd to a folder where you want your game data to be (or where it already is).
# cd to a folder where you want your game data to be (or where it already is).
#
# docker run -it -p 4000:4000 -p 4001:4001 -p 4005:4005 -v $PWD:/usr/src/game evennia/evennia
#
# (If your OS does not support $PWD, replace it with the full path to your current
#
# (If your OS does not support $PWD, replace it with the full path to your current
# folder).
#
# You will end up in a shell where the `evennia` command is available. From here you
@ -24,7 +24,8 @@ FROM alpine
MAINTAINER www.evennia.com
# install compilation environment
RUN apk update && apk add python py-pip python-dev py-setuptools gcc musl-dev jpeg-dev zlib-dev bash
RUN apk update && apk add python py-pip python-dev py-setuptools gcc \
musl-dev jpeg-dev zlib-dev bash procps
# add the project source
ADD . /usr/src/evennia
@ -33,7 +34,7 @@ ADD . /usr/src/evennia
RUN pip install -e /usr/src/evennia --trusted-host pypi.python.org
# add the game source when rebuilding a new docker image from inside
# a game dir
# a game dir
ONBUILD ADD . /usr/src/game
# make the game source hierarchy persistent with a named volume.