mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-04 21:47:40 +03:00
Merge 0d7a63d122
into f03bdcf472
This commit is contained in:
commit
19e5fe617e
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue