mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 08:16:30 +01:00
Merge pull request #1639 from bookofportals/fix-docker-ps
Add procps dependency to Dockerfile
This commit is contained in:
commit
bdba1eacb1
1 changed files with 6 additions and 5 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -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 py2-openssl
|
||||
RUN apk update && apk add python py-pip python-dev py-setuptools gcc \
|
||||
musl-dev jpeg-dev zlib-dev bash py2-openssl procps
|
||||
|
||||
# add the project source
|
||||
ADD . /usr/src/evennia
|
||||
|
|
@ -34,7 +35,7 @@ RUN pip install -e /usr/src/evennia --trusted-host pypi.python.org
|
|||
RUN pip install cryptography pyasn1 service_identity
|
||||
|
||||
# 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue