Use quotes for kaniko to expand ARG in Dockerfile (#314)

This commit is contained in:
pratclot
2024-11-11 02:19:40 +01:00
committed by GitHub
parent f03bdcf472
commit 6a18ea17ec

View File

@ -4,7 +4,7 @@ ARG TARGET
RUN apk add --no-cache curl
RUN curl -L https://github.com/redlib-org/redlib/releases/latest/download/redlib-${TARGET}.tar.gz | \
RUN curl -L "https://github.com/redlib-org/redlib/releases/latest/download/redlib-${TARGET}.tar.gz" | \
tar xz -C /usr/local/bin/
RUN adduser --home /nonexistent --no-create-home --disabled-password redlib