Docker container for Nextcloud Talk High Performance Backend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

35 lines
1.1 KiB

FROM golang:1.17.11-bullseye@sha256:c4afe366060f68872b4f71fe6134acaf6cc9673abe04fb6cf35d3b91b8fab14d as build
# renovate: datasource=github-tags depName=strukturag/nextcloud-spreed-signaling versioning=semver
ENV SPREED_SIGNALING_VERSION v0.5.0
RUN set -ex; \
apt-get update; \
apt-get install -y --no-install-recommends \
python3 \
; \
git clone --branch $SPREED_SIGNALING_VERSION https://github.com/strukturag/nextcloud-spreed-signaling.git /build; \
cd /build; \
make build;
FROM debian:bullseye-slim@sha256:313ee16e6d9b3c186d5fb9632bdb8bf16efbda4e0aac4586f139d92af0554099
COPY --from=build /build/bin/signaling /usr/local/bin/signaling
COPY --from=build /build/server.conf.in /config/server.conf
RUN set -ex; \
\
groupadd --system --gid 601 signaling; \
useradd --no-log-init --system --gid signaling --no-create-home --uid 601 signaling; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
ca-certificates \
; \
rm -rf /var/lib/apt/lists/*;
USER signaling:signaling
EXPOSE 8088 8443
CMD ["/usr/local/bin/signaling", "--config", "/config/server.conf"]