From 0d7a63d1222e7f682df621bfb9062253becd78ca Mon Sep 17 00:00:00 2001 From: Ales Lerch <13370338+axeII@users.noreply.github.com> Date: Sun, 2 Jun 2024 20:32:33 +0200 Subject: [PATCH] refactors: Dockerfile redlib installation --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 94125658..ffbc26a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,9 @@ FROM alpine:3.19 ARG TARGET -RUN apk add --no-cache curl +RUN apk add --no-cache wget -RUN curl -L https://github.com/redlib-org/redlib/releases/latest/download/redlib-${TARGET}.tar.gz | \ - tar xz -C /usr/local/bin/ +RUN wget -q -O /usr/local/bin/redlib https://github.com/redlib-org/redlib/releases/latest/download/redlib && chmod +x /usr/local/bin/redlib RUN adduser --home /nonexistent --no-create-home --disabled-password redlib USER redlib