Update to rr-cli 2.5, and do not generate config

This commit is contained in:
Alejandro Celaya
2023-05-02 08:43:14 +02:00
parent e80b7448f5
commit a516ef691d
5 changed files with 4 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ LABEL maintainer="Alejandro Celaya <alejandro@alejandrocelaya.com>"
COPY --from=builder /etc/shlink .
RUN ln -s /etc/shlink/bin/cli /usr/local/bin/shlink && \
if [ "$SHLINK_RUNTIME" == 'rr' ]; then \
php ./vendor/bin/rr get --no-interaction --location bin/ && chmod +x bin/rr ; \
php ./vendor/bin/rr get --no-interaction --no-config --location bin/ && chmod +x bin/rr ; \
fi;
# Expose default port