Updated nextcloud to work dynamically with www-data ID and GID
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
FROM nextcloud:fpm
|
||||
|
||||
ARG UID=1000
|
||||
ARG GID=1000
|
||||
|
||||
#RUN adduser --system --no-create-home --home /nonexistent --gecos 'www-data user' --shell /bin/false --uid 82 www-data
|
||||
RUN usermod -u 82 -o www-data
|
||||
RUN usermod -u $UID -o www-data
|
||||
RUN apt update \
|
||||
&& apt -y install libmagickcore-6.q16-6-extra ffmpeg imagemagick ghostscript \
|
||||
&& apt clean
|
||||
|
||||
Reference in New Issue
Block a user