From 56608beedc2bd051c9a1d6e9219d4d64c31952b0 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Tue, 23 Mar 2021 01:16:04 -0400 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9985f1f..1f5041e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ RUN apk add --no-cache --upgrade gawk RUN apk add --no-cache --upgrade pacman RUN apk add --no-cache --upgrade net-tools RUN apk add --no-cache --upgrade tar -RUN apk add --no-cache --upgrade gunzip +RUN apk add --no-cache --upgrade gzip RUN update-ca-certificates RUN usermod -u 99 nobody @@ -62,7 +62,7 @@ RUN buildDeps=" \ RUN export LIBTOR_VERSION=$(curl --silent "https://github.com/arvidn/libtorrent/tags" 2>&1 | grep -m 1 'libtorrent-' | sed -e 's~^[t]*~~;s~[t]*$~~' | sed -n 's/.*href="\([^"]*\).*/\1/p' | sed 's!.*/!!') RUN curl -SL "https://github.com/arvidn/libtorrent/archive/$LIBTOR_VERSION.tar.gz" -o libtor.tar.gz RUN mkdir -p /usr/src/libtorrent -RUN gunziplibtor.tar.gz +RUN gzip libtor.tar.gz RUN tar -xf libtor.tar -C /usr/src/libtorrent --strip-components=1 RUN rm libtor.tar* RUN rm libtor.tar.gz*