This commit is contained in:
parent
ab45a5f11b
commit
ea037e0952
1 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,7 @@ RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y \
|
||||||
pkg-config="0.29-6" \
|
pkg-config="0.29-6" \
|
||||||
libssl-dev="1.1.1d-0+deb10u6" \
|
libssl-dev="1.1.1d-0+deb10u6" \
|
||||||
libevent-dev="2.1.8-stable-4" \
|
libevent-dev="2.1.8-stable-4" \
|
||||||
curl="7.64.0-4+deb10u1" \
|
curl \
|
||||||
&& PCV=$(echo "${PROMETHEUS_CLIENT_VERSION}" | cut -c 2-) \
|
&& PCV=$(echo "${PROMETHEUS_CLIENT_VERSION}" | cut -c 2-) \
|
||||||
&& curl -L "https://github.com/digitalocean/prometheus-client-c/releases/download/${PROMETHEUS_CLIENT_VERSION}/libprom-dev-${PCV}-Linux.deb" > /tmp/libprom.deb \
|
&& curl -L "https://github.com/digitalocean/prometheus-client-c/releases/download/${PROMETHEUS_CLIENT_VERSION}/libprom-dev-${PCV}-Linux.deb" > /tmp/libprom.deb \
|
||||||
&& curl -L "https://github.com/digitalocean/prometheus-client-c/releases/download/${PROMETHEUS_CLIENT_VERSION}/libpromhttp-dev-${PCV}-Linux.deb" > /tmp/libpromhttp.deb \
|
&& curl -L "https://github.com/digitalocean/prometheus-client-c/releases/download/${PROMETHEUS_CLIENT_VERSION}/libpromhttp-dev-${PCV}-Linux.deb" > /tmp/libpromhttp.deb \
|
||||||
|
@ -27,7 +27,8 @@ RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y \
|
||||||
&& ./configure \
|
&& ./configure \
|
||||||
&& make \
|
&& make \
|
||||||
&& make install \
|
&& make install \
|
||||||
&& rm -rf /root/coturn
|
&& rm -rf /root/coturn \
|
||||||
|
&& apt-get remove -y --purge curl
|
||||||
|
|
||||||
RUN addgroup --system turnserver \
|
RUN addgroup --system turnserver \
|
||||||
&& adduser --system --home / --shell /bin/false --no-create-home --ingroup turnserver --disabled-password --disabled-login --gecos "turnserver daemon" turnserver
|
&& adduser --system --home / --shell /bin/false --no-create-home --ingroup turnserver --disabled-password --disabled-login --gecos "turnserver daemon" turnserver
|
||||||
|
|
Reference in a new issue