mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
add user-IDs to all containers
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
5499bc8a5d
commit
faecc028fe
11 changed files with 24 additions and 10 deletions
|
|
@ -28,7 +28,7 @@ RUN set -ex; \
|
|||
build-base \
|
||||
linux-headers \
|
||||
geckodriver; \
|
||||
useradd -d /tmp --system recording; \
|
||||
useradd -d /tmp --system recording -u 1000; \
|
||||
# Give root a random password
|
||||
echo "root:$(openssl rand -base64 12)" | chpasswd; \
|
||||
git clone --recursive https://github.com/nextcloud/nextcloud-talk-recording --depth=1 --single-branch --branch "$RECORDING_VERSION" /src; \
|
||||
|
|
@ -49,7 +49,7 @@ RUN set -ex; \
|
|||
linux-headers;
|
||||
|
||||
WORKDIR /tmp
|
||||
USER recording
|
||||
USER 1000
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
CMD ["python", "-m", "nextcloud.talk.recording", "--config", "/conf/recording.conf"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue