Apply suggestions from code review

Co-Authored-By: Julien Neuhart <j.neuhart@thecodingmachine.com>
This commit is contained in:
Thomas Bøgh Fangel
2019-06-17 11:29:52 +02:00
committed by GitHub
parent c36c7144cb
commit 6fa48c9222
3 changed files with 12 additions and 5 deletions

View File

@@ -92,6 +92,13 @@ RUN apt-get install -y \
COPY build/base/fonts.conf /etc/fonts/conf.d/100-gotenberg.conf
# |--------------------------------------------------------------------------
# | Default user
# |--------------------------------------------------------------------------
# |
# | TODO find a correct description for why we're doing this.
# |
RUN groupadd --gid 1001 gotenberg \
&& useradd --uid 1001 --gid gotenberg --shell /bin/bash --no-create-home gotenberg \
&& mkdir /gotenberg \