This commit is contained in:
parent
5b2775afe0
commit
9b38a7e7a3
3 changed files with 10 additions and 30 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM debian:11.0-slim@sha256:dacf278785a4daa9de07596ec739dbc07131e189942772210709c5c0777e8437
|
||||
FROM debian:11.1-slim@sha256:dddc0f5f01db7ca3599fd8cf9821ffc4d09ec9d7d15e49019e73228ac1eee7f9
|
||||
|
||||
ENV COTURN_VERSION="4.5.2"
|
||||
ENV PROMETHEUS_CLIENT_VERSION="v0.1.3"
|
||||
|
@ -7,12 +7,7 @@ ENV BUILD_PREFIX /usr/local/src
|
|||
|
||||
WORKDIR /root/coturn
|
||||
|
||||
RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y \
|
||||
build-essential="12.6" \
|
||||
pkg-config="0.29.2-1" \
|
||||
libssl-dev="1.1.1k-1" \
|
||||
libevent-dev="2.1.12-stable-1" \
|
||||
curl \
|
||||
RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y build-essential pkg-config libssl-dev libevent-dev curl \
|
||||
&& 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}/libpromhttp-dev-${PCV}-Linux.deb" > /tmp/libpromhttp.deb \
|
||||
|
|
Reference in a new issue