mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 05:30:45 +00:00
coturn: Make container builds more consistent
This commit is contained in:
parent
faa0420931
commit
c17b4e91c8
@ -11,15 +11,13 @@ FROM docker.io/debian:bookworm-slim@sha256:f80c45482c8d147da87613cb6878a7238b864
|
||||
RUN apt-get update -y && apt-get upgrade -y && \
|
||||
apt-get install -y --no-install-recommends ca-certificates gettext gosu
|
||||
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
||||
libevent-2.1 libevent-core-2.1 libevent-extra-2.1 libevent-openssl-2.1 libevent-pthreads-2.1 \
|
||||
libssl3
|
||||
|
||||
RUN addgroup --system --gid 10000 coturn && \
|
||||
adduser --system --uid 10000 --ingroup coturn --home /var/lib/coturn coturn
|
||||
RUN adduser --system --group --uid 10000 --home /var/lib/coturn coturn
|
||||
|
||||
COPY --from=builder /build /
|
||||
|
||||
COPY container/config /etc/coturn
|
||||
COPY container/run-coturn /run-coturn
|
||||
COPY container/run-healthcheck /run-healthcheck
|
||||
|
@ -10,4 +10,4 @@ for file in /etc/coturn/*.template; do
|
||||
envsubst "$ENV_NAMES" < "$file" > "${file%.template}"
|
||||
done
|
||||
|
||||
/usr/bin/turnserver -c /etc/coturn/turnserver.conf
|
||||
exec /usr/bin/turnserver -c /etc/coturn/turnserver.conf
|
||||
|
Loading…
Reference in New Issue
Block a user