From ea037e09526819f46e52ddee5310afce51e5829d Mon Sep 17 00:00:00 2001 From: samuel-p Date: Sat, 15 May 2021 01:57:30 +0200 Subject: [PATCH] fixed curl --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2d74a17..055b42e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y \ pkg-config="0.29-6" \ libssl-dev="1.1.1d-0+deb10u6" \ libevent-dev="2.1.8-stable-4" \ - curl="7.64.0-4+deb10u1" \ + 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 \ @@ -27,7 +27,8 @@ RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y \ && ./configure \ && make \ && make install \ - && rm -rf /root/coturn + && rm -rf /root/coturn \ + && apt-get remove -y --purge curl RUN addgroup --system turnserver \ && adduser --system --home / --shell /bin/false --no-create-home --ingroup turnserver --disabled-password --disabled-login --gecos "turnserver daemon" turnserver