fixed curl
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Samuel Philipp 2021-05-15 01:57:30 +02:00
parent ab45a5f11b
commit ea037e0952
Signed by: samuel-p
GPG key ID: 2AD495D17760CB4E

View file

@ -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