mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
optimize talk Dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
844382d220
commit
132444cbb9
1 changed files with 7 additions and 8 deletions
|
|
@ -6,6 +6,9 @@ USER root
|
||||||
COPY --from=nats /nats-server /usr/local/bin/nats-server
|
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=signaling /usr/bin/nextcloud-spreed-signaling /usr/local/bin/nextcloud-spreed-signaling
|
||||||
|
|
||||||
|
COPY --chmod=775 start.sh /usr/bin/start.sh
|
||||||
|
COPY --chmod=664 supervisord.conf /supervisord.conf
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
|
@ -30,15 +33,11 @@ RUN set -ex; \
|
||||||
util-linux \
|
util-linux \
|
||||||
build-base \
|
build-base \
|
||||||
lua5.3-dev \
|
lua5.3-dev \
|
||||||
luarocks5.3;
|
luarocks5.3; \
|
||||||
|
\
|
||||||
# Give root a random password
|
# Give root a random password
|
||||||
RUN echo "root:$(openssl rand -base64 12)" | chpasswd
|
echo "root:$(openssl rand -base64 12)" | chpasswd; \
|
||||||
|
\
|
||||||
COPY --chmod=775 start.sh /usr/bin/start.sh
|
|
||||||
COPY --chmod=664 supervisord.conf /supervisord.conf
|
|
||||||
|
|
||||||
RUN set -ex; \
|
|
||||||
touch \
|
touch \
|
||||||
/etc/nats.conf \
|
/etc/nats.conf \
|
||||||
/etc/signaling.conf \
|
/etc/signaling.conf \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue