mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
fix some issues
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
f617a94af5
commit
bc36ce9aab
4 changed files with 6 additions and 6 deletions
|
|
@ -28,7 +28,7 @@ RUN set -ex; \
|
||||||
build-base \
|
build-base \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
geckodriver; \
|
geckodriver; \
|
||||||
useradd -d /tmp --system recording -u 1000; \
|
useradd -d /tmp --system recording -u 122; \
|
||||||
# Give root a random password
|
# Give root a random password
|
||||||
echo "root:$(openssl rand -base64 12)" | chpasswd; \
|
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; \
|
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;
|
linux-headers;
|
||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
USER 1000
|
USER 122
|
||||||
ENTRYPOINT ["/start.sh"]
|
ENTRYPOINT ["/start.sh"]
|
||||||
CMD ["python", "-m", "nextcloud.talk.recording", "--config", "/conf/recording.conf"]
|
CMD ["python", "-m", "nextcloud.talk.recording", "--config", "/conf/recording.conf"]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
# syntax=docker/dockerfile:latest
|
# syntax=docker/dockerfile:latest
|
||||||
FROM ghcr.io/nextcloud-releases/whiteboard:v1.0.4
|
FROM ghcr.io/nextcloud-releases/whiteboard:v1.0.4
|
||||||
|
|
||||||
USER 65534
|
USER root
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
apk upgrade --no-cache -a; \
|
apk upgrade --no-cache -a; \
|
||||||
apk add --no-cache bash
|
apk add --no-cache bash
|
||||||
USER nobody
|
USER 65534
|
||||||
|
|
||||||
COPY --chmod=775 start.sh /start.sh
|
COPY --chmod=775 start.sh /start.sh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -255,7 +255,7 @@ services:
|
||||||
|
|
||||||
nextcloud-aio-talk-recording:
|
nextcloud-aio-talk-recording:
|
||||||
image: nextcloud/aio-talk-recording:latest
|
image: nextcloud/aio-talk-recording:latest
|
||||||
user: 1000
|
user: 122
|
||||||
init: true
|
init: true
|
||||||
expose:
|
expose:
|
||||||
- "1234"
|
- "1234"
|
||||||
|
|
|
||||||
|
|
@ -428,7 +428,7 @@
|
||||||
"image_tag": "%AIO_CHANNEL%",
|
"image_tag": "%AIO_CHANNEL%",
|
||||||
"display_name": "Talk Recording",
|
"display_name": "Talk Recording",
|
||||||
"image": "nextcloud/aio-talk-recording",
|
"image": "nextcloud/aio-talk-recording",
|
||||||
"user": 1000,
|
"user": 122,
|
||||||
"init": true,
|
"init": true,
|
||||||
"expose": [
|
"expose": [
|
||||||
"1234"
|
"1234"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue