1
0
Fork 0

fix: Create user home to avoid warning

This commit is contained in:
Cristian 2020-07-09 10:35:33 -05:00
parent 26e97f242a
commit 960c92d6d3

View file

@ -48,7 +48,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
# Run everything from here on out as non-privileged user # Run everything from here on out as non-privileged user
RUN groupadd --system archivebox \ RUN groupadd --system archivebox \
&& useradd --system --gid archivebox --groups audio,video archivebox && useradd --system --create-home --gid archivebox --groups audio,video archivebox
ADD . "$CODE_PATH" ADD . "$CODE_PATH"
WORKDIR "$CODE_PATH" WORKDIR "$CODE_PATH"