rroemhild / docker-ejabberd

Dockerfile for Ejabberd server
MIT License
268 stars 160 forks source link

Feature: added EJABBERD_UID/GID args to Dockerfile #168

Closed alexcustos closed 6 years ago

alexcustos commented 6 years ago

It's not easy to override ejabberd user's UID/GID in a child image because the user is already in use at that point. In the PR, the default UID and GID are the same as in original 999, but there will be an option to override them with:

build:
    context ./ejabberd
    args:
        EJABBERD_UID: 1000
        EJABBERD_GID: 1000