Skip to content

Commit

Permalink
Merge pull request #3523 from nextcloud/smaller-talk
Browse files Browse the repository at this point in the history
  • Loading branch information
szaimen authored Oct 16, 2023
2 parents b60c86c + 320cd9f commit eee6157
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions Containers/talk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ RUN set -ex; \

FROM alpine:3.18.4
ENV ETURNAL_ETC_DIR="/conf"
COPY --from=janus /usr/local /usr/local
COPY --from=eturnal /opt/eturnal /opt/eturnal
COPY --from=nats /nats-server /usr/local/bin/nats-server
COPY --from=signaling /usr/bin/nextcloud-spreed-signaling /usr/local/bin/nextcloud-spreed-signaling
COPY --from=janus --chmod=777 --chown=1000:1000 /usr/local /usr/local
COPY --from=eturnal --chmod=777 --chown=1000:1000 /opt/eturnal /opt/eturnal
COPY --from=nats --chmod=777 --chown=1000:1000 /nats-server /usr/local/bin/nats-server
COPY --from=signaling --chmod=777 --chown=1000:1000 /usr/bin/nextcloud-spreed-signaling /usr/local/bin/nextcloud-spreed-signaling

COPY --chmod=775 start.sh /start.sh
COPY --chmod=775 healthcheck.sh /healthcheck.sh
Expand Down Expand Up @@ -66,7 +66,7 @@ RUN set -ex; \
libwebsockets \
\
shadow; \
useradd --system eturnal; \
useradd --system -u 1000 eturnal; \
apk del --no-cache \
shadow; \
\
Expand All @@ -85,15 +85,12 @@ RUN set -ex; \
/var/run/supervisord \
/usr/local/lib/janus/loggers; \
chown eturnal:eturnal -R \
/usr \
/opt/eturnal \
/etc/nats.conf \
/var/log/supervisord \
/var/run/supervisord; \
chmod 777 -R \
/tmp \
/conf \
/opt/eturnal \
/var/run/supervisord \
/var/log/supervisord; \
ln -s /opt/eturnal/bin/stun /usr/local/bin/stun; \
Expand Down

0 comments on commit eee6157

Please sign in to comment.