Skip to content

Commit

Permalink
refactors: Dockerfile redlib installation
Browse files Browse the repository at this point in the history
  • Loading branch information
axeII committed Jun 2, 2024
1 parent 8a3ceaf commit 0d7a63d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d7a63d

Please sign in to comment.